Итоговая настройка для VSC
{
"editor.fontSize": 20,
"window.zoomLevel": 0,
"files.autoSave": "afterDelay",
"files.associations": {
"*.json": "jsonc",
"*.eslintrc": "jsonc"
},
"window.menuBarVisibility": "default",
"editor.insertSpaces": false, // Вставлять пробелы при нажатии клавиши TAB
"editor.detectIndentation": false, // автоматическое определение отступов
"editor.formatOnSave": true, // включение prettier по сохранению
"prettier.useTabs": true // prettier делает отступы TAB'ами
}
keybindings.json
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "alt+0",
"command": "-workbench.action.lastEditorInGroup"
},
{
"key": "alt+0",
"command": "search.action.collapseSearchResults"
},
{
"key": "ctrl+f2",
"command": "-editor.action.changeAll",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+f2",
"command": "bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+k",
"command": "-bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "f2",
"command": "bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+l",
"command": "-bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+u",
"command": "-cursorUndo",
"when": "textInputFocus"
},
{
"key": "ctrl+u",
"command": "editor.action.transformToUppercase"
},
{
"key": "ctrl+l",
"command": "editor.action.transformToLowercase"
}
]
Новая врсия файла
{
"editor.fontSize": 20,
"window.zoomLevel": 0,
"files.autoSave": "afterDelay",
"files.associations": {
"*.json": "jsonc",
"*.eslintrc": "jsonc"
},
"window.menuBarVisibility": "default",
"editor.insertSpaces": false, // Вставлять пробелы при нажатии клавиши TAB
"editor.detectIndentation": false, // автоматическое определение отступов
// "editor.formatOnSave": true, // включение prettier по сохранению
"prettier.useTabs": true,
"explorer.confirmDelete": false,
"vetur.format.options.useTabs": true,
"explorer.confirmDragAndDrop": false, // prettier делает отступы TAB'ами
"prettier.singleQuote": true,
"typescript.surveys.enabled": false,
"typescript.validate.enable": false,
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"editor.renderWhitespace": "all",
"remote.SSH.configFile": "c:\\home\\loc_12go.asia\\ssh\\ssh_config ",
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"yaml.schemas": {
"file:///toc.schema.json": "/toc\\.yml/i"
},
"diffEditor.ignoreTrimWhitespace": false,
"update.mode": "none",
"extensions.autoCheckUpdates": false,
"extensions.autoUpdate": false,
"update.enableWindowsBackgroundUpdates": false,
"workbench.startupEditor": "newUntitledFile",
"remote.SSH.remotePlatform": {
"192.168.100.161": "linux"
},
"vetur.completion.scaffoldSnippetSources": {},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"eslint.alwaysShowStatus": true,
"eslint.codeAction.disableRuleComment": {},
"eslint.validate": [
"javascript",
"typescript",
] // prettier заменяет одиночные кавычки двойными
}