VS Code Extensions

My favourite VS Code and Cursor extensions.

Tips

  • Note that some Microsoft-owned extensions are not available for Cursor and other VS Code forks.
  • To save without formatting the file: CTRL + K, then S
  • Regular Expression searches accept capture groups:
# search:
<li><a href="(.*?)">(.*?)</a></li>
# replace:
[$2]($1)
  • If you have multiple VS Code instances with different workspaces, you can easily distinguish them by changing the border color, via the following workspace settings:
"workbench.colorCustomizations": {
    "window.activeBorder": "#596a8f",
}
  • VS Code by default hides some folders, like .vscode, .git and .github. You can un-hide them by opening the settings and searching for "Hide"; One of the results is a list of hiding rules, where you can remove some of them.

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
  • "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 Palette Shift + Control + P (Linux) or Shift + + P (macOS) and search for or type Shell 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.

Extensions - Other useful ones
{
    "title": "Gemma 2 27B",
    "provider": "ollama",
    "model": "gemma2:27b"
},
{
    "title": "Phi 4",
    "provider": "ollama",
    "model": "phi4:latest"
}
VS Code Extensions page, written by Kartones