Install VSCodium instead of VS Code

By default, VS Code will send diagnostic data which you disable in settings. To do this, search for telemetry in settings and select off under Telemetry Level. Another approach is to install VSCodium which contains the original open sourced binaries and has telemetry disabled by default. For macOS, use Homebrew to install VSCodium brew install vscodium

1 min · Jesstern Rays

Learn to use VS Code more efficiently

Multi-cursor editing Select your text, hit Shift-Command-L to select all occurences of the selection. Command-D to select them one at a time. Add a new cursor above or below, Option-Command + up/down arrow keys. Hit Escape key to exit multi-cursor mode. IntelliSense The default shortcut key to trigger suggestions is Control-Space or Fn-Control-Space. If this does not work, try the Option-Escape keys. Line actions To delete an entire line, hit Shift-Command-K or Command-X....

1 min · Jesstern Rays

Limit number of open editors in VS Code

We can limit the number of open editors in VS Code by configuring the following in settings: workbench.editor.limit.enabled: true – enable editor limit; default is false workbench.editor.limit.value: 1 – set number of open editors; default is 10 workbench.editor.limit.perEditorGroup: true – allow side-by-side panels; default is false

1 min · Jesstern Rays

Navigation in VS Code

Navigation Command-P to quickly search and open a file. Shift-Command-E to move your cursor to the Explorer pane then navigate with arrow keys, or start typing to search for a file. Control-- to navigate to a previously opened file Shift-Control-- to navigate forward. Breadcrumbs You can navigate anywhere within a file by clicking on the breadcrumbs. You can also open other files directly from the breadcrumbs. Reference Code Navigation in VS Code

1 min · Jesstern Rays