6 Tips and Tricks Every Developer Should Know in Visual Studio Code ?

One of the most common text editors used by developers is Visual Studio Code. Microsoft created it to be the first cross-platform programming tool in the Visual Studio family that supported OS, Linux, and Windows .Visual Studio Code is by far one of th…


This content originally appeared on DEV Community and was authored by Zahab Kakar

One of the most common text editors used by developers is Visual Studio Code. Microsoft created it to be the first cross-platform programming tool in the Visual Studio family that supported OS, Linux, and Windows .Visual Studio Code is by far one of the most popular code editors for web, mobile, and hardware developers.

In this article, we will talk about the most essential tips every developer should know in VS Code

Go to Definition

You may come across a lot of variables or methods that you are unfamiliar with when programming. By selecting the “Go to Definition” option from the right-click menu of the required variable or method in Visual Studio Code, you may quickly get to the definition.

Zen Mode

It's a view with no distractions. All of your window's superfluous toolboxes and bars will be gone, allowing you to concentrate just on your code. To use zen mode simple go to View > Appearance > Toggle Zen Mode

Screenshot 2021-09-18 at 06.48.08.png

Split view

Go to the split view if you're skilled at multitasking and are working on two separate files of the same project at the same time, or if you need to compare two files. You can open as many editors as you like side by side vertically or horizontally.

Screenshot 2021-09-18 at 06.53.05.png

Quick Open

If you want to open a file quickly without using sidebar , you can simply use quick open. To open quick open press cmd+p on Mac and for Windows / Linux you can use ctrl + p
Screenshot 2021-09-18 at 07.02.31.png

Command Palette

The command palette, allows you to quickly access any registered command, including those offered by extension. In addition, if a key binding is connected with a specific command, it will be presented in the type-to-search drop-down list.

You can open Command Palette by pressing cmd+shift+p in Mac and ctrl+shift+p for Windows / Linux.

Screenshot 2021-09-18 at 07.07.22.png

Multi cursor selection

You may utilise multi-cursor editing to modify several lines of text in various areas of your document. This function allows you to add, modify, or remove text by using several cursors in separate locations.

You can do this by clicking anywhere in your text document while holding down the Alt or Option keys on your keyboard.

MayEK.gif

Gif by Nacimota from SOF


This content originally appeared on DEV Community and was authored by Zahab Kakar


Print Share Comment Cite Upload Translate Updates
APA

Zahab Kakar | Sciencx (2021-09-18T06:16:23+00:00) 6 Tips and Tricks Every Developer Should Know in Visual Studio Code ?. Retrieved from https://www.scien.cx/2021/09/18/6-tips-and-tricks-every-developer-should-know-in-visual-studio-code-%f0%9f%a4%a9/

MLA
" » 6 Tips and Tricks Every Developer Should Know in Visual Studio Code ?." Zahab Kakar | Sciencx - Saturday September 18, 2021, https://www.scien.cx/2021/09/18/6-tips-and-tricks-every-developer-should-know-in-visual-studio-code-%f0%9f%a4%a9/
HARVARD
Zahab Kakar | Sciencx Saturday September 18, 2021 » 6 Tips and Tricks Every Developer Should Know in Visual Studio Code ?., viewed ,<https://www.scien.cx/2021/09/18/6-tips-and-tricks-every-developer-should-know-in-visual-studio-code-%f0%9f%a4%a9/>
VANCOUVER
Zahab Kakar | Sciencx - » 6 Tips and Tricks Every Developer Should Know in Visual Studio Code ?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/09/18/6-tips-and-tricks-every-developer-should-know-in-visual-studio-code-%f0%9f%a4%a9/
CHICAGO
" » 6 Tips and Tricks Every Developer Should Know in Visual Studio Code ?." Zahab Kakar | Sciencx - Accessed . https://www.scien.cx/2021/09/18/6-tips-and-tricks-every-developer-should-know-in-visual-studio-code-%f0%9f%a4%a9/
IEEE
" » 6 Tips and Tricks Every Developer Should Know in Visual Studio Code ?." Zahab Kakar | Sciencx [Online]. Available: https://www.scien.cx/2021/09/18/6-tips-and-tricks-every-developer-should-know-in-visual-studio-code-%f0%9f%a4%a9/. [Accessed: ]
rf:citation
» 6 Tips and Tricks Every Developer Should Know in Visual Studio Code ? | Zahab Kakar | Sciencx | https://www.scien.cx/2021/09/18/6-tips-and-tricks-every-developer-should-know-in-visual-studio-code-%f0%9f%a4%a9/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.