My favourite VS Code and Cursor extensions.
Tips
- To save without formatting the file:
CTRL
+K
, thenS
- Regular Expression searches accept capture groups:
# search:
<li><a href="(.*?)">(.*?)</a></li>
# replace:
[$2]($1)
Extensions and Configuration
General
- Remove annoying html file handler:
sudo rm /usr/share/applications/code-url-handler.desktop
- My favourite themes:
- Dark:
Dark Modern
- Light:
Solarized Light
- Dark:
"search.useIgnoreFiles": false
: Is a tricky option; if active, you get no noise but also won't find any or inside.gitignored
but existing files; if inactive, you get lots of search noise, like same file twice (as if VSCode was traversing through an upper folder).- Setup
code
command for the terminal (to open VS Code from any folder, or with a given file): Open the Command PaletteShift
+Control
+P
(Linux) orShift
+⌘
+P
(macOS) and search for or typeShell Command: Install 'code'
.
Extensions - My personal must-haves
You can also setup workspace recommended extensions, very handy for example if you use both normal VS Code and the Insiders/beta version.
- Auto Rename Tag
- Babel Javascript
- CSS Compressor
- CSS Formatter
- Diff
- Docker
- ESLint
- Flake8
- Hexeditor
- Highlight Bad Chars
- Markdown Preview Enhanced
- Mypy Type Checker
- Output Colorizer
- Prettier
- Prettify JSON
- Python Extension Pack + setup instructions
- Python Environments
- Pylint
- Rainbow CSV
- Ruff
- Visual Studio IntelliCode
Extensions - Other useful ones
- Bazel
- CMake Highlight
- Continue: Coding assistant with support for local models. Add them to the the extension config's
models
list (setup info), e.g.:
{
"title": "Gemma 2 27B",
"provider": "ollama",
"model": "gemma2:27b"
},
{
"title": "Phi 4",
"provider": "ollama",
"model": "phi4:latest"
}
- Git Graph
- GitHub Copilot
- GitHub Copilot Chat
- GitLens: Remember to have
"git.enabled": true
. I've set the current line format to"gitlens.currentLine.format": "${ago}"
. - Go Extension Pack + setup instructions
- iCalendar
- Java Extension Pack
- Live Server
- React Extension Pack
- Remote Development
- VS Live Share
- Word Count
- XML Tools