Visual Studio Code#
Visual Studio Code is a free source-code editor made by Microsoft for Windows, Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git. Users can change the theme, keyboard shortcuts, preferences, and install extensions that add additional functionality.
Important Extensions#
Useful Extensions#
autoDocstring
Black Formatter
Code Runner
CodeSnap
GistPad
GitHub Copilot
GitHub Copilot Chat
GitHub Pull Requests
GitLens
IntelliCode
Markdown All in One
Markdown Shortcuts
Prettier
Pylint
vscode-icons
Keyboard shortcuts#
Command Palette:
Ctrl+Shift+P
Search and open a file:
Ctrl+P
Go to Symbol:
Ctrl+Shift+O
Move line up and down:
Alt+Arrow up/down
Go to line number:
Ctrl+G
Cut the Entire Line:
Ctrl+X
Select the entire line: Triple-clicking at the line of the line
Markdown preview:
Ctrl+K V
Zen Mode:
View > Appearance > Toggle Zen Mode
Split view:
View > Editor Layout > Split Up
Edit multiple lines simultaneously: Hold Alt and click to add a cursor in the places you want to type or edit the code.