![]() For example, pressing CTRL+D 3 times, instead of just 2.ĪLT + Mouse Selection > Select multiple text linesĬTRL + K M > Change current file language modeĬTRL + SHIFT + ENTER > New line above the cursorĬTRL + K CTRL + S > Open keyboard ShortcutsĬTRL + SHIFT + E > Show explorer OR Focus in text editor (if focus was in explorer) ConclusionĪs you can see, there is a lot to learn in VSCode, we explored only about shortcut, but of course there are tons of features that worth learning to improve your day or at least make it easier. Try using it after make a selection mistake. Itâs also great to select one word in a camelCase string ĬTRL + D > Add selection to next finding matchĬTRL + k Ctrl + d > Jump 1 match selection of Ctrl+DĬTRL + SHIFT + L > Select all that matches current selection Itâs great to select text between separators like: (),,. Jedi shortcuts: take care to not hack NASA unintentionallyĪLT + SHIFT + Arrow Left/Right > Shrink/Expand selection Pressing F12 with the cursor in some Class, Function, etc. NOT ONLY FOR VS CODE, BUT GOOD TO MENTIONĬTRL + Shift + Arrow Right > Select Next Word Intermediary shortcuts: ready to rockĬTRL + ALT + SHIFT + ArrowUP/Down > Duplicate lineĬTRL + SHIFT + T > Re open closed editor tabĬTRL + Tab > Move to previous open editor tabĬTRL + Page Up/Down > Move to next/previous editor tab Rookie shortcuts: the essentialį1 > Show command palette (you can search there)ĬTRL + P > Fuzzy Search file by name (Can search for name part as: intern comp ts (dont need spaces) to search for Ä®xample: Select some text, press F1 and search for transform to uppercase Obs.: Those shortcuts are for Linux and some may be a little different on other platforms. To really learn and remember about the following shortcuts, I highly recommend you to do each of those shortcuts to make your brain remember. Of course, that the real distraction would consume more time than clicking on the GUI, but, again, we are talking about improving everything we can to do our best. However, being distracted by something in the middle of the development, usually make you lose some time during the âcontext switchingâ. h move cursor to the left j move down k move up l move right i Go into Insert mode Go back to Normal mode.If you are very focused in some tasks, listen to a good music and drinking a good coffee, you probably feel great and your thoghts just flow through your mind. This process is similar to a interruption during a complex task thinking. So, having the power of a keyboard driven workflow and avoid using the mouse (when possible) will help in thinking about the problem you are solving and not WHERE to click. Moreover, usually your mental flow to achieve what you are planning to do is better when you donât need to think in less important stuff. However, as a âJediâ developer, your should always search for the best way of accomplishing your tasks. As itâs very user-friendly, you could use a great part of its functionality using its GUI. VSCODE SHORTCUTS HOW TOBut to get the most of it, itâs necessary to know how to use it and take advantage of the features that it give to us. VSCODE SHORTCUTS CODEVS Code is a great IDE (if you use sufficient extensions). My suggestion #1 is that you check if the keybindings are correct, as per your intentions.Compartilhe este post: First things first: Why using Shortcuts? It has been widely reported that keyboard shortcuts have issues with VSCode in Ubuntu/Linux (see below). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |