vortidomains.blogg.se

Vs code shortcuts windows
Vs code shortcuts windows





vs code shortcuts windows

So in this article, we will see some of the widely used shortcuts which make developers' life easy and coding faster. See you guys in the next post with list of vscode extensions.Visual Studio Code is the most widely used and most loved code editor for application development. Apologize for my grammar mistakes if any and for my bad english. To see complete list of inbuilt keyboard shortcuts please go through this Link. To create custom key bindings please check this link.

Vs code shortcuts windows windows#

Shift + alt + F ( Format document) - It is used to format code in the current file.Ĭtrl + k + f ( Format selection) - It is used to format the selected code.Ĭtrl + shift + c ( Open windows terminal) - It is used to open the windows terminal instead of vs code terminal. Shift + alt + A ( Toggle block comment) - It is used to toggle comments between the blocks.Ĭtrl + shift + ( Unfold cell) - It is used to unfold available code in between the blocks.

vs code shortcuts windows

Shift + alt + uparrow/downarrow ( Copy code up/down) - It is used to copy the same selected code up/down from the current line.Ĭtrl + shift + X ( Show extensions) - It is used to open the extensions menu available in the sidebar.Ĭtrl + shift + E ( View explorer) - It is used to open the current project with current file focused on the sidebar.Ĭtrl +, ( settings) - It is used to open the settings.Ĭtrl + shift + M ( New file) - It is used to open the terminal with problems tab focused to check the errors and warnings in the current project.Just replace the 'M' to 'U' to focus the output tab.Ĭtrl + shift + T ( Re-open a Closed Editor) - It is used to open a recently closed file in your current project.Ĭtrl + backspace ( deletewordleft) - It is used to delete the entire word on the left while typing.Ĭtrl + k, z ( Toggle Zen mode) - It is used to open the zen mode i.e., without any distractions only the editor space will be focused.Ĭtrl + / ( Toggle line comment) - It is used to toggle the specific line comment. This will be very useful while comparing the changes in your files.Īlt + uparrow/downarrow ( Move code Up/Down) - It is used to move the selected code up/down from the current line.Ĭtrl + n ( New file) - It is used to open new untitled file.Ĭtrl + shift + N ( New window) - It is used to open entire new vs code window.Ĭtrl + o ( open file) - It is used to open file present in your local system.Ĭtrl + K + O ( New folder) - It is used to open the entire new folder and this will replace the current folder in vs code.Ĭtrl + w ( close file) - It is used to close the editor focused file. * Ctrl + * ( Split Editor) - It is used to split the editor in to two. It may be a variable name or function name etc.Ĭtrl + shift + F ( Find) - It is used to search globally all over the projects for the search result. This shortcut is used to find all the matched and replaces them.Ĭtrl + F ( Find) - It is used to find the search results. During at that time this shortcut will be very handy.Ĭtrl + ` ( Toggle Terminal) - It is used to toggle the vs code terminal.Ĭtrl + shift + ` ( New Terminal) - It is used to open new vs code terminal.Ĭtrl + G ( Go to line) - It is used to go to particular line number in the current file.Ĭtrl + H ( Replace) - Suppose your file is too long and if you are using global variable and there is in need of replacing the variable name in all the places of same file. If needed you can create a custom shortcuts too.Ĭtrl + b ( Toggle sidebar) - It is used to toggle the sidebar and the editor workspace.Ĭtrl + p ( Go to file) - If you are working on a larger applications and if the folder structure is vast then definitely searching for a particular file in the application will be cumbersome.

vs code shortcuts windows vs code shortcuts windows

There are lots of vs code inbuilt shortcuts available. I have windows machine so I will be posting the list related to windows. Here's the list of vs code keyboard shortcuts.It will work both for workspace and separate folders.







Vs code shortcuts windows