Vscode设置个人爱好

 

  1. 插件列表

abusaidm.html-snippets-0.1.0

adamwalzer.string-converter-0.0.9

AESSoft.aessoft-class-autocomplete-0.1.0

annsk.alignment-0.3.0

ashhitch.vs-code-css-comments-1.0.3

cmstead.jsrefactor-1.2.0

CoenraadS.bracket-pair-colorizer-0.10.7

DotJoshJohnson.xml-1.8.0

florianloch.text-transform-0.1.0

ionutvmi.path-autocomplete-1.5.1

joelday.docthis-0.4.4

jrieken.references-plusplus-0.0.5

leventebalogh.console-log-snippet-javascript-0.1.0

marclipovsky.string-manipulation-0.1.0

msjsdiag.debugger-for-chrome-3.1.3

oderwat.indent-rainbow-0.6.1

rintoj.blank-line-organizer-0.1.1

ryu1kn.text-marker-0.10.0

sallar.json-to-js-object-0.0.4

shuworks.vscode-table-formatter-1.1.2

swindh.enumerator-0.0.6

TomiTurtiainen.js-complexity-analysis-1.0.4

vittorioromeo.expand-selection-to-scope-0.2.0

weakish.complete-statement-0.0.2016

whtouche.vscode-js-console-utils-0.7.0

 

 

 

  1. User setttings

// Place your settings in this file to overwrite the default settings

{

"emmet.syntaxProfiles": {

"vue-html": "html",

"html": "html",

"vue": "html"

},

// 自动更新扩展 不自动更新扩展插件

"extensions.autoUpdate": false,

// "files.autoSave": "afterDelay",

"files.autoSave": "onFocusChange",

"editor.formatOnType": true,

"editor.formatOnSave": true,

// "editor.formatOnType": true

"editor.parameterHints": true,

"editor.quickSuggestions": {

"other": true,

"comments": true,

"strings": true

},

// 去掉右侧缩略图形

"editor.minimap.enabled": false,

// Define paired characters and their shared color group

"bracketPairColorizer.consecutivePairColors": [

"()",

"[]",

"{}",

[

"Gold",

"Orchid",

"LightSkyBlue",

"darkgoldenrod",

"darkmagenta",

"darkolivegreen",

"darkslateblue",

"darkslategray",

"darkviolet",

"darkblue",

"darkturquoise",

"darkgray",

"darkkhaki",

"darkorange",

"darksalmon",

"darkseagreen"

],

"Red"

],

// Define paired characters and their color groups

"bracketPairColorizer.independentPairColors": [

[

"()",

[

"Gold",

"Orchid",

"LightSkyBlue",

"darkgoldenrod",

"darkmagenta",

"darkolivegreen",

"darkslateblue",

"darkslategray",

"darkviolet",

"darkblue",

"darkturquoise",

"darkgray",

"darkkhaki",

"darkorange",

"darksalmon",

"darkseagreen"

],

"Red"

],

[

"[]",

[

"Gold",

"Orchid",

"LightSkyBlue",

"darkgoldenrod",

"darkmagenta",

"darkolivegreen",

"darkslateblue",

"darkslategray",

"darkviolet",

"darkblue",

"darkturquoise",

"darkgray",

"darkkhaki",

"darkorange",

"darksalmon",

"darkseagreen"

],

"Red"

],

[

"{}",

[

"Gold",

"Orchid",

"LightSkyBlue",

"darkgoldenrod",

"darkmagenta",

"darkolivegreen",

"darkslateblue",

"darkslategray",

"darkviolet",

"darkblue",

"darkturquoise",

"darkgray",

"darkkhaki",

"darkorange",

"darksalmon",

"darkseagreen"

],

"Red"

]

]

}

 

 

  1. Settings quickly settings

 

// 快捷键设置 keyiing.json

// 将键绑定放入此文件中以覆盖默认值

[

/* // 转换大写

{

"key" : "ctrl+shift+u",

"command" : "editor.action.transformToUppercase",

"when" : "editorTextFocus"

},

// 转换小写

{

"key" : "ctrl+shift+l",

"command" : "editor.action.transformToLowercase",

"when" : "editorTextFocus"

},*/

// 定制与 sublime 相同的大小写转换快捷键,需安装 TextTransform 插件

{

"key": "ctrl+k ctrl+u",

"command": "uppercase",

"when": "editorTextFocus"

},

{

"key": "ctrl+k ctrl+l",

"command": "lowercase",

"when": "editorTextFocus"

},

// ctrl+space 被切换输入法快捷键占用

{

"key": "ctrl+alt+space",

"command": "editor.action.triggerSuggest",

"when": "editorTextFocus"

},

// ctrl+d 删除一行

{

"key": "ctrl+d",

"command": "editor.action.deleteLines",

"when": "editorTextFocus"

},

// 选中高亮

{

"key": "alt+d",

"command": "editor.action.addSelectionToNextFindMatch",

"when": "editorFocus"

},

// ctrl+shift+/多行注释

{

"key": "ctrl+shift+/",

"command": "editor.action.blockComment",

"when": "editorTextFocus"

},

// 高亮文本编辑颜色

{

"key": "alt+q",

"command": "textmarker.markText",

"when": "editorTextFocus"

},

// 清除文本编辑颜色

{

"key": "alt+w",

"command": "textmarker.clearAllHighlight",

"when": "editorTextFocus"

},

// 注释table化

{

"key": "alt+t",

"command": "extension.table.formatCurrent",

"when": "editorTextFocus"

},

// 格式化热键 覆盖点击文件的快捷键

// {

// "key" : "alt+f",

// "command": "editor.action.format",

// "when" : "editorHasFormattingProvider && editorTextFocus && !editorReadonly"

// },

// 复制一行到下一行

{

// "key" : "ctrl+shift+c",

"key": "alt+c",

// "command": "editor.action.fLinesDownAction",

"command": "editor.action.copyLinesDownAction",

"when": "editorTextFocus"

},

// 复制一行到下一行

{

"key": "alt+j",

"command": "editor.Add.doc.comments",

"when": "editorTextFocus"

},

// 快速添加注释信息

{

"key": "alt+j",

// "command": "docthis.documentEverythingVisible"

// "command": "docthis.documentEverything"

"command": "docthis.documentThis"

},

// // log日志打印参数信息

// {

// "key": "ctrl+t",

// "command": "extension.insertLogStatement",

// "when": "editorTextFocus"

// },

// 清除所有log日志

{

"key": "alt+shift+t",

"command": "extension.deleteAllLogStatements"

},

// 调试快捷键 以防占用

{

"key": "ctrl+shift+d",

"command": "workbench.view.debug"

},

//逗号分隔

{

"key": "alt+shift+w",

"command": "words"

},

//驼峰命名小写下划线

{

"key": "alt+s",

"command": "snakeCase"

},

// 替换选择

{

"key": "alt+r",

"command": "replace"

},

//驼峰命名小写

{

"key": "alt+e",

"command": "camelCase"

},

//括号匹配

{

"key": "alt+m",

"command": "expand-selection-to-scope.expand"

},

//快捷建立方法method

{

"key": "alt+f",

"command": "cmstead.jsRefactor.wrapInExecutedFunction"

},

// json转对象

{

"key": "ctrl+shift+j",

"command": "jsonToJSObject.convert"

},

// 去除空格

{

"key": "ctrl+;",

"command": "blankLine.process"

},

// : = 对齐

{

"key": "alt+=",

"command": "alignment.align",

"when": "editorHasSelection"

},

// 选择一行 下选择

{

"key": "ctrl+l",

"command": "expandLineSelection",

"when": "editorTextFocus"

},

//调试debug

{

"key": "alt+3",

"command": "workbench.action.debug.restart",

"when": "inDebugMode"

},

// {

// "key": "ctrl+t",

// "command": "extension.translateon",

// "when": "editorTextFocus"

// }

// log日志打印参数信息

{

"key": "ctrl+enter",

"command": "extension.complete-statement",

"when": "editorTextFocus"

},

// log日志打印参数信息

{

"key": "ctrl+t",

"command": "extension.insertLogStatement",

"when": "editorTextFocus"

},

// tab element键设置

{

"key": "alt+a",

"command": "editor.emmet.action.expandAbbreviation",

"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !config.emmet.useNewEmmet && !editorHasMultipleSelections && !editorHasSelection && !editorReadonly && !editorTabMovesFocus"

}

]

 

 

posted on 2017-06-15 10:31  天之城  阅读(667)  评论(0编辑  收藏  举报