VS Code | Cookbook

Inhaltsverzeichnis [Anzeigen]

Extensions

Copy installed extensions to another VS Code

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
code --list-extensions | xargs -I {} code_insiders --install-extension {}
code --list-extensions | xargs -I {} code_insiders --install-extension {}
code --list-extensions | xargs -I {} code_insiders --install-extension {}

Formatting

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
{
"singleQuote": true,
"trailingComma": "all",
"tabWidth": 4,
"semi": true
}
{ "singleQuote": true, "trailingComma": "all", "tabWidth": 4, "semi": true }
{
	"singleQuote": true,
	"trailingComma": "all",
	"tabWidth": 4,
	"semi": true
}

settings.json

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
"editor.formatOnSave": true,
"editor.formatOnSave": true,
"editor.formatOnSave": true,
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
"editor.tabCompletion": "on",
"editor.tabCompletion": "on",
"editor.tabCompletion": "on",
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
"files.exclude": {
"resources": true,
"package-lock.json": true,
".editorconfig": true,
"node_modules": true,
"src/environments": true
}
"files.exclude": { "resources": true, "package-lock.json": true, ".editorconfig": true, "node_modules": true, "src/environments": true }
"files.exclude": {
	"resources": true,
	"package-lock.json": true,
	".editorconfig": true,
	"node_modules": true,
	"src/environments": true
}