Visual Studio Code setup basic Settings and Keybindings
is my setup at Settings
// Coloque su configuración en este archivo para sobrescribir la configuración predeterminada.
{
"markdown.preview.breaks": true,
"git.enabled": false,
"git.autorefresh": true,
"workbench.colorTheme": "Monokai",
"editor.tabSize": 1,
"html.format.wrapLineLength": 220,
"javascript.format.insertSpaceAfterConstructor": true,
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"javascript.format.placeOpenBraceOnNewLineForFunctions": true,
"javascript.format.placeOpenBraceOnNewLineForControlBlocks": true,
"files.autoSave": "off",
"editor.wordWrap": "on",
"editor.formatOnSave": false,
"workbench.quickOpen.closeOnFocusLost": false,
"workbench.editor.closeOnFileDelete": false,
"explorer.autoReveal": false,
"workbench.editor.enablePreview": false,
"workbench.editor.enablePreviewFromQuickOpen": false,
"files.exclude": {
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/node_modules": true,
"**/build": true,
"**/.DS_Store": true
},
"editor.multiCursorModifier": "ctrlCmd",
"react.beautify.onSave": false,
"bashBeautify.tabSize": 1,
"editor.fontSize": 18,
"editor.mouseWheelZoom": true,
"editor.formatOnPaste": false,
"editor.autoIndent": false,
"problems.autoReveal": false,
"markdown.previewFrontMatter": "show",
"editor.detectIndentation": true,
"window.zoomLevel": -1,
"team.showWelcomeMessage": false,
"eslint.nodePath": "/usr/local/lib/node_modules/",
"eslint.validate": [ "javascript", "javascriptreact", "html" ],
"eslint.options": { "configFile": "/home/cirel/.eslintrc.json" },
"eslint.run": "onSave"
}
is my setup at Keybindings
// Place your key bindings in this file to overwrite the defaults
[{
"key": "ctrl+shift+9",
"command": "workbench.action.terminal.paste",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+9",
"command": "markdown.showPreview",
"when": "editorFocus"
},
{
"key": "ctrl+7",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+7",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+7",
"command": "editor.action.commentLine",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+[Minus]",
"command": "-editor.action.commentLine",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+7",
"command": "editor.action.blockComment",
"when": "editorFocus"
},
{
"key": "ctrl+shift+[Minus]",
"command": "-editor.action.blockComment",
"when": "editorFocus"
},
{
"key": "ctrl+alt+f",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+c",
"command": "workbench.action.terminal.new"
},
{
"key": "ctrl+shift+[IntlBackslash]",
"command": "workbench.action.togglePanel"
},
{
"key": "ctrl+j",
"command": "-workbench.action.togglePanel"
},
{
"key": "ctrl+shift+f",
"command": "editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorHasSelection && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+f",
"command": "-editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorHasSelection && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+a",
"command": "eslint.executeAutofix"
}
]
0 comentarios :