Its popularity is due to the growth of the web development field in these years and the need of the developers of having a lightweight well-done editor, with few features but less complex than the others available on the market.
It’s also free and it’s developed and maintained by Microsoft with a modern approach using Electron.
These are some characteristics that bring VSCode to the top of the coding editors but there are also others that because of its own features or characteristics like Open-source, Simplicity , Familiarity, Minimal Design, Extensions let’s check it one by one.
CTRL + SHIFT + F = find in files
CTRL + SHIFT + E = Open project explorer
CTRL + SHIFT + G = Open Source Control
CTRL + SHIFT + D = Open debugger
CTRL + SHIFT + X = Open Extension tab
CTRL + B = Toggle open/close the sidebar
CTRL+ SHIFT + P = Command pallet
CTRL + K, Z = Open ZEN mode same for exit from ZEN mode.
CTRL + W = Close the current file
CTRL + TAB = Toggle to next open tab
CTRL + SHIFT + TAB = Toggle to previous open tab.
CTRL + P = Search the files in open workspace
CTRL + Home : go to the start of the file
CTRL + END : go to the bottom of the file
CTRL + arrow key (← , → ) to navigate word by word
CTRL + D : select the word, press again to select next instance of word (Multi select)
Use boiler plate code by creating the index.html
and open into editor and type ! . In background it will use the emmet toolkit to generate boilerplate code.
and hit enter. You will get the generated boilerplate code of index.html
Bookmarks helps you to navigate in your code, moving between important positions easily and quickly. No more need to search for code. It also supports a set of selection commands, which allows you to select bookmarked lines and regions between lines.
This extension extends HTML and ejs code editing with Go To Definition and Go To Symbol in Workspace support for css/scss/less (classes and IDs) found in strings within the source code.
There are currently 2 option present to update config.
i will suggest to choose second one .i.e., edit configuration. I personally prefer to use token to access the gist. as we can control the access rights.
→ settings → Developer setttings → Generatte new Token. Provide the specific name to token so you can track very well in future.
Grant only access for create gists and copy the accesss token and paste in the configuration.
After updating the configuraitons again, Go to the command pallet and search for sync and hit the same Sunc: Update/Upload Settings
Next time onwords it will update the gist file on github with latest setting configuraitons.
Setup git into vs code
Name: GitLens — Git supercharged
Description: Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more