My VSCode settings
vscode tools plugins english
I'm using VSCode as my main code editor for a long time. This is a good open source project done by Microsoft, code based on github. And now it has more than 19K⭐️.
Here I'd like to share my configs and plugin list for this editor.
Configs
VSCode supports 2 settings file:
- User Settings - common settings for editor
- Workspace Settings - these settings can override user settings
My settings.json
file:
// Place your settings in this file to override the default settings
{
// Editor
// The number of spaces a tab is equal to.
"editor.tabSize": 2,
// Controls whether the editor should render whitespace characters
"editor.renderWhitespace": "all",
// Controls whether the editor should render indent guides
"editor.renderIndentGuides": true,
// Workbench
// Controls if opened editors should show in tabs or not.
"workbench.editor.showTabs": false,
// File Explorer
// Number of editors shown in the Open Editors pane. Set it to 0 to hide the pane.
"explorer.openEditors.visible": 5,
// Search
// Configure glob patterns for excluding files and folders in searches. Inherits all glob patterns from the files.exclude setting.
"search.exclude": {
"**/node_modules": true,
"**/jspm_packages": true,
"**/bower_components": true
},
// Files
// Controls auto save of dirty files. Accepted values: "off", "afterDelay", "onFocusChange" (editor loses focus), "onWindowChange" (window loses focus). If set to "afterDelay", you can configure the delay in "files.autoSaveDelay".
"files.autoSave": "onWindowChange",
// Emmet
// When enabled, emmet abbreviations are expanded when pressing TAB.
"emmet.triggerExpansionOnTab": true,
// Preferences used to modify behavior of some actions and resolvers of Emmet.
"emmet.preferences": {},
// Define profile for specified syntax or use your own profile with specific rules.
"emmet.syntaxProfiles": {
"javascript": "html",
"typescript": "html"
},
// An array of languages where emmet abbreviations should not be expanded.
"emmet.excludeLanguages": [],
"typescript.check.tscVersion": false
}
Plugins
Below I provide my plugin list which helps me every day in my work. Full list of plugins you can find on VisualStudio Marketplace.
Visual Studio Code plugin that autocompletes npm modules in import statements.
Visual Studio Code plugin that autocompletes filenames.
Integrates the tslint linter for the TypeScript language into VS Code.
A VS Code extension to debug your JavaScript code in the Google Chrome browser, or other targets that support the Chrome Debugging Protocol.
Display git blame info along with your code. Can open the diff of a particullar commit from here.
Automatically finds, parses and provides code actions and code completion for all available imports. Works with Typescript and TSX.
- Cordova Tools (usefull only if you a working with Cordova)
Code-hinting, debugging and integrated commands for Apache Cordova (PhoneGap). With added support for ionic framework.