Basic Editing in Visual Studio Code | vscode go to definition hotkey
VisualStudioCodeisaneditorfirstandforemost,andincludesthefeaturesyouneedforhighlyproductivesourcecodeediting.Thistopictakesyouthroughthebasicsoftheeditorandhelpsyougetmovingwithyourcode.KeyboardshortcutsBeingabletokeepyourhandsonthekeyboardwhenwritingcodeiscrucialforhighproductivity.VSCodehasarichsetofdefaultkeyboardshortcutsaswellasallowingyoutocustomizethem.Multipleselections(multi-cursor)VSCodesupportsmultiplecursorsforfastsimultaneousedits.Youcanaddsecondarycursors(renderedthinner)withAl...
Visual Studio Code is an editor first and foremost, and includes the features you need for highly productive source code editing. This topic takes you through the basics of the editor and helps you get moving with your code.
Keyboard shortcutsBeing able to keep your hands on the keyboard when writing code is crucial for high productivity. VS Code has a rich set of default keyboard shortcuts as well as allowing you to customize them.
Multiple selections (multi-cursor)VS Code supports multiple cursors for fast simultaneous edits. You can add secondary cursors (rendered thinner) with Alt+Click. Each cursor operates independently based on the context it sits in. A common way to add more cursors is with ⌥⌘↓ (Windows Ctrl+Alt+Down, Linux Shift+Alt+Down) or ⌥⌘↑ (Windows Ctrl+Alt+Up, Linux Shift+Alt+Up) that insert cursors below or above.
Note: Your graphics card driver (for example NVIDIA) might overwrite these default shortcuts.