I've used a lot of IDE's and Code Editors since I started coding from college to my first job, Python's IDLE, PyCharm, Notepad++, Visual Studio and Android Studio and VS Code. But I felt more satisfied and happy when I used VS Code in my first job due to the reason its light, fast and has many useful extensions.
Click on the editor then in your keyboard perform this command CTRL+P then type settings.json.
editor.formatOnSave - this formats the file contents when saving the file or the shortcut CTRL+S.
editor.detectIndentation - we must set this to false so it does not override our editor.tabSize setting.
files.exclude - files or folders to include or exclude in files explorer. You can use glob patterns.
true indicates to hide the folder or file otherwise
falseto indicate to not hide.
src: true - hides the src folder in the current workspace.
src/**.js:true - hides all files that have an extension of js inside the src folder.
package*.json:true - hides all file that has a package name on it and has an extension of json.
san?.js:True - hides all files that that starts with san and have any single character after it and has an extension of js. Matches sand.js and sane.js but not sandy.js.
emmet.includeLanguages - enables emmet abbreviations in languages that are not supported by default.
typescript.updateImportsOnFileMove.enabled - updates import statements when file name is changed for ts files.
So what are font ligatures, basically a font ligature is when two or more symbols, letters or characters are joined to form a new character.
It's cool, right?.
Download Fira Code Font here.
Extract and then install the font after that.
editor.fontFamily - Specify the fonts to be used in the editor.
editor.enableFontLigatures - enables font ligatures or not.
CTRL+SHIFT+P - show the command palette
CTRL+k CTRL+T - show the lists of themes
CTRL+T - Finding a class, function or variable in all files.
CTRL+K Z - Toggle Zen Mode
CTRL+L - Select the current line in the cursor.
CTRL+R - Reload window
CTRL+` - Toggle the terminal window
CTRL+SHIFT+` - Create a new terminal instance
CTRL+P - Find a specific file in your current folder
CTRL+K CTRL+Z - Comment a block of code
CTRL+K CTRL+U - Uncomment a block of code
Ok, let's edit and add some keyboard shortcuts.
Click on the editor then in your keyboard perform this command CTRL+P then type keybindings.json.
You must have git installed in your computer to add does two last commands.
You can find all the when possible values here.
There's a lot of commands in VSCode that you can edit or change.
All the commands that are available in your editor. Do this command
Ctrl+K CTRL+S. But watch out, if you add or edit a new command with a new keybinding that keybinding must not exist in the current commands.
1. Auto Import
Automatically finds, parses and provides code actions and code completion for all available imports. Works with Typescript and TSX. This extension finds the file path for you isn't that amazing.
4. Code Time
Code Time is an open-source plugin that provides programming metrics right in Visual Studio Code. Find out the amount of time you spent coding in a day and a week and what languages that you spent your time most.
5. CSS Peek
Highlights key, value pairs in .env files.
9. Live Server
Launch a development local Server with live reload feature for static & dynamic pages.
Material Design Icons for Visual Studio Code
11. Material Theme
The most epic theme now for Visual Studio Code
12 One Dark Pro
Atom's iconic One Dark theme for Visual Studio Code
VS Code's default dark theme, but just a little bit better.
Noctis is a collection of light & dark themes with a well-balanced blend of warm and cold colors
Linting, Debugging (multi-threaded, remote), Intellisense, code formatting, refactoring, unit tests, snippets, and more.
Simple extensions for React, Redux and Graphql in JS/TS with ES7 syntax
Vue tooling for VS Code
Take a picture of your code.
TSLint support for Visual Studio Code
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
Official Dracula Theme. A dark theme for many editors, shells, and more. If you like python. You'll love this.
23 Import Cost
Display import/require package size in the editor
25 Slack Theme
Color scheme inspired by Slack's default themes
Adds syntax highlighting, commands, hover tips, and linting for Dockerfile and docker-compose files. I haven't used docker but I heard that it's a great technology and I hope in the future that I will use it.
28 Code Runner
Run your code snippet in one command.