![]() The easiest way to turn on Auto Save is with the File > Auto Save toggle that turns on and off save after a delay.įor more control over Auto Save, open User or Workspace settings and find the associated settings: With this option turned on, there is no need to explicitly save the file. However, it's easy to turn on Auto Save, which will save your changes after a configured delay or when focus leaves the editor. Save / Auto Saveīy default, VS Code requires an explicit action to save your changes to disk, ⌘S (Windows, Linux Ctrl+S). In addition, one can also disable Column Selection mode from the Status bar. ![]() This global toggle is also accessible via the Selection > Column Selection Mode menu item. Once this mode is entered, as indicated in the Status bar, the mouse gestures and the arrow keys will create a column selection by default. The user setting Editor: Column Selection controls this feature. You can edit your keybindings.json to bind them to something more familiar if you want. ⇧PageUp (Windows Ctrl+Shift+Alt+PageUp, Linux ) ⇧PageDown (Windows Ctrl+Shift+Alt+PageDown, Linux ) ⇧→ (Windows Ctrl+Shift+Alt+Right, Linux ) There are also default key bindings for column selection on macOS and Windows, but not on Linux. Note: This changes to Shift+Ctrl/Cmd when using Ctrl/Cmd as multi-cursor modifier. Place the cursor in one corner and then hold Shift+Alt while dragging to the opposite corner: Here's an example of expanding the selection with ⌃⇧⌘→ (Windows, Linux Shift+Alt+Right): Trigger it with ⌃⇧⌘← (Windows, Linux Shift+Alt+Left) and ⌃⇧⌘→ (Windows, Linux Shift+Alt+Right). Quickly shrink or expand the current selection. For example, when the setting is ctrlCmd, multiple cursors can be added with Ctrl/Cmd+Click, and opening links or going to definition can be invoked with Alt+Click. The Go to Definition and Open Link gestures will also respect this setting and adapt such that they do not conflict. There's also a menu item Use Ctrl+Click for Multi-Cursor in the Selection menu to quickly toggle this setting.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |