I use Ctrl + PgUp to focus on the previous tab and Ctrl + PgDn to focus on the next tab. Use the left arrow to go up one directory, and right arrow to go inside a directory.Ĭtrl + 0 (Zero) (not working in number pad) to focus on explorer, Ctrl + 1 (not working in number pad) to focus back to the editor.Use the up/down arrow to navigate between the file or folder.I share this method with people who might find it useful.Ĭtrl + Shift + E to focus on the explorer and Ctrl + Shift + E again to focus back to the editor. I seldom navigate folder and file this way. Use up/down arrow to navigate between the file. Use Ctrl + right/left arrow to navigate between folder. (Period) to focus your current breadcrumbs folder. Your filename is how-to-build-a-website-with-gatsbyjs.md, you can type gatsbyjs or build a website, VS Code will filter and show you every file match your search.Ĭtrl + Shift +. I navigate from file to file with Ctrl + E (you can also use Ctrl + P) then search the keyword of the filename and press Enter to open a file. I often toggle the sidebar off with Ctrl + B. I use mouse unconsciously, and I always have to remind myself not to use it. Let's learn together.īelow are the keyboard shortcut and navigation I learned so far, I'll continuously update this article when I learn something new. If you could also share how you code without using a mouse would be much appreciated. What I pretty sure is my coding speed will decrease dramatically. Then document my learning to be a mouse free developer (Ops, it's should be a mouse-less developer). I will try my best to use the keyboard shortcut, terminal and command line in VS Code. I don't think we can 100% avoid using a mouse in a graphic user interface (GUI) environment, especially when we want to check the navigation link, button and form. My target is to focus 90% on using the keyboard. There are some arguments in the web development community mention that writing code without a mouse could be faster. Drag and drop, left-click, right-click, scroll the web page up and down with mouse wheel. Note: Select the title inside the quote and use Ctrl + F to quickly find the newly added sectionĪfter using PC for so many years with a mouse or trackpad, we so used to point and click everything we want on the screen so fast and concise. Add "Clear the terminal inside VS Code".
0 Comments
Leave a Reply. |