关键词:
// CODE > PREFERENCES > USER SNIPPETS > javascript.json
/*
// Place your snippets for JavaScript here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and $1:label, $2:another for placeholders. Placeholders with the
// same ids are connected.
// Example:
"Print to console":
"prefix": "log",
"body": [
"console.log('$1');",
],
"description": "Log output to console"
*/
"Print to console":
"prefix": "log",
"body": [
"console.log($0);",
],
"description": "Log output to console"
// Place your key bindings in this file to overwrite the defaults
[
"key": "cmd+\\",
"command": "workbench.action.toggleSidebarVisibility"
,
"key": "cmd+b",
"command": "-workbench.action.toggleSidebarVisibility"
,
"key": "shift+cmd+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
,
"key": "shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
,
"key": "ctrl+cmd+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
,
"key": "alt+down",
"command": "-editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
,
"key": "ctrl+cmd+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
,
"key": "alt+up",
"command": "-editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
,
"key": "ctrl+alt+t",
"command": "workbench.action.terminal.toggleTerminal"
,
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal"
,
"key": "ctrl+shift+a",
"command": "workbench.action.toggleActivityBarVisibility"
]
"explorer.confirmDragAndDrop": false,
"window.zoomLevel": 1,
"files.insertFinalNewline": true,
"materialTheme.fixIconsRunning": false,
"terminal.integrated.fontSize": 14,
// "editor.fontFamily": "Fira Code",
// "editor.fontLigatures": true,
"editor.parameterHints": false,
"editor.multiCursorModifier": "ctrlCmd",
"editor.detectIndentation": false,
"explorer.openEditors.visible": 0,
"editor.matchBrackets": true,
"editor.formatOnSave": false,
"editor.quickSuggestions":
"other": true,
"comments": false,
"strings": false
,
"editor.minimap.enabled": false,
// "editor.renderWhitespace": "all",
// "code-runner.runInTerminal": true,
"explorer.autoReveal": false,
"workbench.sideBar.location": "left",
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Hopscotch",
"workbench.startupEditor": "newUntitledFile",
"workbench.colorCustomizations":
"titleBar.activeBackground": "#141414",
"terminal.border": "#141414",
"panel.border": "#141414",
"editor.background": "#0E1419",
"activityBar.background": "#0E1419",
"statusBar.background": "#0E1419",
"sideBar.background": "#0E1419",
"tab.activeBackground": "#0E1419",
"titleBar.activeBackground": "#0E1419",
"tab.inactiveBackground": "#0E1419",
"tab.activeBorder": "#F19618",
"editorGroupHeader.tabsBackground": "#0E1419",
"input.background": "#0E1419"
,
// "vsicons.dontShowNewVersionMessage": true,
// "eslint.enable": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"[javascript]":
"editor.formatOnSave": false,
,
// -------- PHP --------
"php.validate.enable": true,
"php.validate.run": "onSave",
"php.validate.executablePath": "/usr/bin/php",
// "php.suggest.basic": false,
"[php]":
"editor.formatOnSave": true,
"editor.tabSize": 4,
,
"blade.format.enable": true,
"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages":
"blade": "html"
,
"editor.tabSize": 2,
"editor.fontFamily": "Menlo, Monaco, 'Courier New', monospace",
"workbench.activityBar.visible": false
jsonvscode设置(代码片段)
查看详情
jsonvscode设置(代码片段)
查看详情
jsonvscode设置(代码片段)
查看详情
jsonvscode设置(代码片段)
查看详情
jsonvscode设置(代码片段)
查看详情
jsonvscode设置(代码片段)
查看详情
jsonvscode设置(代码片段)
查看详情
jsonvscode设置(代码片段)
查看详情
jsonvscode设置(代码片段)
查看详情
jsonvscode用户设置(代码片段)
查看详情
jsonvscode的设置-同步(代码片段)
查看详情
jsonvscode的设置-同步(代码片段)
查看详情
jsonvscode的设置-同步(代码片段)
查看详情
jsonvscode的设置-同步(代码片段)
查看详情
jsonvscode的设置-同步(代码片段)
查看详情
jsonvscode的设置-同步(代码片段)
查看详情
jsonvscode的设置-同步(代码片段)
查看详情
jsonvscode的设置-同步(代码片段)
查看详情