iceklion.blogg.se

Visual code shortcut keys
Visual code shortcut keys








Unhide all regions in the currently open file.Ĭtrl + K, then Ctrl + Left Square Bracket ([)Ĭmd + K, then Cmd + Left Square Bracket ([) Hide all regions in the currently open file. Option + Shift + Right Square Bracket (]) Rename the current function and replace all instances of it in the file. Open a small window that shows the library definition of the current function.įind all the functions in the project that references the current function. Open a new window containing the library definition of the current function. Open the library definition of the current function. Remove all excess spaces and tabs in the document.Ĭomment or uncomment out the current line.Ĭomment or uncomment out the currently selection region. Show Quick Fix actions, if one is available.Īlter the current file language and set to auto-detect by default. Insert a new line above the current line.Īutomatically indent the current line if no section is highlighted.Īutomatically outdent the current line if no section is highlighted. Insert a new line below the current line. Select all occurrences of the found matches. Move the current line down from the current position. Move the current line up from its current position. Move the current lineup from the current position. Select all instances of the current line in the file.

visual code shortcut keys

Split the editor by adding one extra editing window.Ĭlose the currently opened folder and default to the main window.Įnable or disable word wrap on the current file.Ĭopy the current line if section is highlighted.Ĭopy the current line if the section is highlighted.Ĭut the current line if no section is highlighted.

visual code shortcut keys

Open the file location of the active file in the file system.

visual code shortcut keys

WindowsĮnables Save As mode, which allows you to define an extension or rename a fileĬlose the current open file, saving the changes.Ĭlose all open files simultaneously, saving the changes. Luckily, this VSCode ultimate keyboard shortcuts cheatsheet will provide you with the most common and useful shortcuts to turn you into a Visual Studio Code power user. However, one of the most significant limitations of VSCode is it has no clear way of knowing the available shortcuts inside the program. For example, the program provides a way to toggle its user interface and enable its “rich languages” feature. By default, VSCode already provides a set of keyboard shortcuts that can control almost any aspect of the text editor.










Visual code shortcut keys