当前位置:   article > 正文

vscode配置_c_cpp vc format wrap: preserve blocks

c_cpp vc format wrap: preserve blocks
  1. {
  2. "window.zoomLevel": 1, //窗口.缩放级别
  3. "editor.tabSize": "4", //工作台主题颜色
  4. "typescript.updateImportsOnFileMove.enabled": "always",
  5. "breadcrumbs.enabled": false, // 开启 vscode 文件路径导航
  6. // "tslint.autoFixOnSave": true, // #每次保存的时候将代码按tslint格式进行修复
  7. "eslint.autoFixOnSave": true, // #每次保存的时候将代码按eslint格式进行修复
  8. // "prettier.semi": false,//prettier 设置语句末尾不加分号
  9. "prettier.singleQuote": true, // prettier 设置强制单引号
  10. //"vetur.format.defaultFormatter.js": "vscode-typescript", // #让vue中的js按编辑器自带的ts格式进行格式化
  11. //"window.enableMenuBarMnemonics": false,
  12. //"liveServer.settings.donotShowInfoMsg": true,
  13. "workbench.colorCustomizations": { // 颜色设置
  14. // "foreground": "#75a478",
  15. "editor.background": "#C7EDCC",
  16. // "editor.background": "#c1d8ac",
  17. "sideBar.background": "#FAF9DE",
  18. "terminal.background": "#EAEAEF",
  19. "editor.selectionHighlightBackground": "#dd6b4e",
  20. },
  21. "editor.fontLigatures": null,
  22. "editor.suggestSelection": "first",
  23. //"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
  24. //"editor.autoIndent": "keep",
  25. "editor.wordWrap": "wordWrapColumn",
  26. "editor.acceptSuggestionOnEnter": "off",
  27. "editor.insertSpaces": true,
  28. "editor.lineNumbers": "on",
  29. "editor.rulers": [120],
  30. "workbench.colorTheme": "Visual Studio Light",
  31. /* "[markdown]": {
  32. "editor.formatOnSave": false,
  33. "editor.wordWrap": "on",
  34. "editor.renderWhitespace": "all",
  35. "editor.acceptSuggestionOnEnter": "off"
  36. },*/
  37. /*"editor.formatOnType": false,
  38. "editor.formatOnSave": false,*/
  39. "C_Cpp.clang_format_style": "{ BasedOnStyle: LLVM,IndentWidth: 4, TabWidth: 4,}",
  40. "editor.wordWrap": "off",
  41. "diffEditor.wordWrap": "off",
  42. "cmake.configureOnOpen": true,
  43. /*"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: Google,}",*/
  44. /*"C_Cpp.vcFormat.wrap.preserveBlocks": "never",
  45. "vim.textwidth": 120,
  46. "C_Cpp.vcFormat.newLine.beforeOpenBrace.namespace":"newLine",
  47. "C_Cpp.vcFormat.newLine.beforeOpenBrace.type":"newLine",
  48. "C_Cpp.vcFormat.newLine.beforeOpenBrace.function":"newLine",
  49. "C_Cpp.vcFormat.newLine.beforeOpenBrace.block":"newLine",
  50. "C_Cpp.vcFormat.newLine.beforeOpenBrace.lambda":"newLine",
  51. "C_Cpp.vcFormat.newLine.scopeBracesOnSeparateLines":true,
  52. "C_Cpp.vcFormat.newLine.closeBraceSameLine.emptyType":true,
  53. "C_Cpp.vcFormat.newLine.closeBraceSameLine.emptyFunction":true,
  54. "C_Cpp.vcFormat.newLine.beforeCatch":true,
  55. "C_Cpp.vcFormat.newLine.beforeElse":true,
  56. "C_Cpp.vcFormat.newLine.beforeWhileInDoWhile": true,*/
  57. }

快捷键



https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf

https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf

Visual Studio Code Key Bindings 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/159252
推荐阅读
相关标签
  

闽ICP备14008679号