1/5/2024 0 Comments Vs code shortcutsI mostly do it because “:w” is still muscle memory for saving even after all these years. go to : File>Preferences>Keyboard Shortcut Then from upright of the page select the icon that says open keyboard shortcuts. Personally, I am one is those strange guys who uses the Vim extension in VSCode so I’m sure there are plenty more key combos I might use but don’t because I use the Vim approach instead. Ctrl-shift-t will reopen the last closed tab in Chrome. ![]() VSCode Shortcuts Page (Image by Author) Alright, I hope you passed that one. For example ctrl-space also works in Eclipse, Visual Studio, InteliJ, etc. Let’s start easy If you’re into shortcuts, you’d better know the shortcut to the VSCode shortcut configuration page. It should be noted that almost every one if these Key combos work almost universally. To navigate by words without selecting, omit the shift. If it understands what type of file you have open it will use the right comment characters (e.g # for python)Ĭtrl-space: open the auto complete dialogĬtrl-tab to indent multiple highlighted linesĬtrl-shift-tab de-indent multiple selected linesĬtrl-shift-f: search all files in the workspaceĬtrl-shift-t: reopen the most recently closed editorĬtrl-shift-arrows: select by words instead of just characters. I’m not at a place where I can test these but from memory:Ĭtrl-/ to comment, ctrl-shift-t/ to uncomment. On macOS Visual Studio Code version 1.36.1 (2019) To auto-format the selection, use K F (the trick is that this is to be done in sequence, K first, followed by F). I’m not sure how to do it in Linux it Chromebooks. ![]() Ctrl + B - toggle sidebar (you can find there explorer, searchbox or extensions sidebar). Ctrl-Shift-G Opens the file whose name is under the cursor or is currently selected Ctrl-/, Switches focus to the Find/Command box on the Standard toolbar. On Windows you can type alt and the character coffee but I find it easier to use the character map. Keyboard shortcuts list Managing workspaces, panels and sidebars. Search for "union"v and you should find the symbol for MQTT. If you enter ctrl-cmd-space it will open a dialog where you can find emoji and symbols. You can type that combo in any other on the Mac and get the degree symbol. That’s an OS X thing and not implemented by VSCode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |