

Each cursor operates independently based on the context it sits in. You can add secondary cursors (rendered thinner) with Alt+Click. VS Code supports multiple cursors for fast simultaneous edits. Customize Keyboard Shortcuts - Change the default keyboard shortcuts to fit your style.Install a Keymap extension - Use the keyboard shortcuts of your old editor (such as Sublime Text, Atom, and Vim) in VS Code by installing a Keymap extension.Keyboard Shortcuts Reference - Learn the most commonly used and popular keyboard shortcuts by downloading the reference sheet.

VS Code has a rich set of default keyboard shortcuts as well as allowing you to customize them. Keyboard shortcutsīeing able to keep your hands on the keyboard when writing code is crucial for high productivity.

This topic takes you through the basics of the editor and helps you get moving with your code. Visual Studio Code is an editor first and foremost, and includes the features you need for highly productive source code editing.

When deselected, the format statement on and format block on } options are disabled. These settings affect when the code editor applies formatting options to code. Formatting (General) page General settings When you change a setting by selecting a radio button or check box, the preview window updates to show the effect of the new setting. The preview window shows an example of the selected option. To use the preview window, select a formatting option. The Indentation, New Lines, Spacing, and Wrapping subpages each display a preview window at the bottom that shows the effect of each option.
