首页 > 代码库 > vscode常用设置

vscode常用设置

1.代码提示快捷键设置:(keybindings.json)

{ "key": "ctrl+j","command": "editor.action.triggerSuggest","when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly" }

 

2.插入代码段和字体设置:(setting.json)

{
  "editor.fontFamily": "宋体",
  "editor.fontSize": 16,
  "editor.snippetSuggestions": "top"
}

 

vscode常用设置