Collection of extensions and further tips for VS Code.
To directly edit settings.json use in search panel Preferences: Open User Settings (JSON). Details are in VS Code: How to Add Custom Keybindings
- IntelliCode
- Python, Pylance, isort, Black Formatter, pylint, Python Type Hint
- Better Comments, autoDocstring, Code Spell Checker
- Remote Development, Dev Containers, Docker, Remote - SSH
- CodeSnap, DotENV, Rainbow CSV
- Jupyter, Jupyter Cell Tags, Jupyter Keymap, Jupyter Notebook Renderers, Jupyter Slide Show
- LaTeX Workshop
- Markdown
- Markdown PDF
- Markdown Preview Mermaid Support
- YAML, Task
- Todo Tree
- Themes
- GitHub Theme
- Monokai Pro
- Go
- templ-vscode
- IntelliCode
- vscode-pdf
- Markdown PDF
- Code Spell Checker
- Marp for VS Code
- Better Comments
- Jupyter Notebook Renderers
- CodeSnap
- Crtl+Shift + P -> Preferences: Open Settings (UI) -> codesnap -> edit settings here
- (to copy directly in clipboard): Shutter Action -> Copy
- Crtl+Shift + P -> Preferences: Open Settings (UI) -> codesnap -> edit settings here
- REST Client
- GitLens
- Even Better TOML
- Todo Tree
- LaTeX in VS Code
"telemetry.telemetryLevel": "off",- Toggle sidebar visibility / hide explorer:
- Ctrl+B
- Switch focus between editor and terminal:
- Ctrl + ` -> focuces on terminal (` -> backtick key)
- Ctrl + 1 -> focuces on editor
- Switch between opened terminal in VS Code
- Ctrl + Shift + a -> requires custom key bindings
- Got to file within the project
- Ctrl + P
- Navigate between open files
- Hold Ctr and press Tab
Open and edit Preferences: Open Keyboard Shortcuts (JSON) by addding
// Place your key bindings in this file to override the defaults
[
// Terminal
{
"key": "ctrl+shift+a",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+b",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
}
]{
"[templ]": {
"editor.defaultFormatter": "a-h.templ",
"editor.formatOnSave": true
},
}
Switch between themes as follows:
- Open
Command Palette - Type
theme - Select the one you want to write out
Example of the launch.json to debug module (see sections: args, msconsconverter)
{
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Module",
"type": "debugpy",
"request": "launch",
"module": "msconsconverter",
"args": ["convert", "--debug", "--input-directory", "tests/data", "--output-directory", "tests/data/output"],
}
]
}