settings.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "Lua.codeLens.enable": false,
  3. "Lua.hint.enable": false,
  4. "Lua.completion.enable": false,
  5. "Lua.format.enable": false,
  6. "Lua.hover.enable": false,
  7. "Lua.diagnostics.enable": false,
  8. "Lua.semantic.enable": false,
  9. "Lua.addonManager.enable": false,
  10. "Lua.signatureHelp.enable": false,
  11. "clangd.enable": false,
  12. "clangd.arguments": [],
  13. "liveServer.settings.file": "${workspaceFolder}/coverage/**",
  14. "liveServer.settings.ignoreFiles": [
  15. "**", // 第一步:先忽略所有文件(简单粗暴)
  16. "!coverage/**" // 第二步:用感叹号 ! 把 coverage 目录“救”回来
  17. ],
  18. // "C_Cpp.intelliSenseEngine": "disabled",
  19. // "C_Cpp.errorSquiggles": "disabled", // 关闭微软的波浪线
  20. // "C_Cpp.autocomplete": "disabled", // 关闭微软的自动补全
  21. "C_Cpp.default.compileCommands": "${workspaceFolder}/.vscode/compile_commands.json",
  22. "C_Cpp.codeAnalysis.clangTidy.enabled": false,
  23. "C_Cpp.codeAnalysis.clangTidy.args": [
  24. // "--extra-arg=-ferror-limit=1"
  25. // "--extra-arg=-m32",
  26. "--extra-arg=--target=arm-none-eabi-gcc"
  27. ],
  28. "c-cpp-flylint.enable": false,
  29. "c-cpp-flylint.cppcheck.severityLevels": {
  30. "error": "Error",
  31. "warning": "Warning",
  32. "style": "Information",
  33. "performance": "Information",
  34. "portability": "Information",
  35. "information": "Information"
  36. },
  37. "c-cpp-flylint.cppcheck.extraArgs": [
  38. "--suppress=constParameterPointer",
  39. "--suppress=constParameterCallback",
  40. "--check-level=exhaustive",
  41. "--suppress=variableScope",
  42. "--suppress=unreadVariable",
  43. "--suppress=constVariablePointer",
  44. "--suppress=constParameter",
  45. "--suppress=unusedStructMember",
  46. ],
  47. "makefile.configureOnOpen": false,
  48. "liveServer.settings.port": 5501,
  49. "files.associations": {
  50. "*.rules": "makefile",
  51. "*.vars": "makefile",
  52. "optional": "cpp",
  53. "istream": "cpp",
  54. "ostream": "cpp",
  55. "system_error": "cpp",
  56. "array": "cpp",
  57. "functional": "cpp",
  58. "tuple": "cpp",
  59. "type_traits": "cpp",
  60. "utility": "cpp",
  61. "string": "cpp",
  62. "deque": "cpp",
  63. "vector": "cpp",
  64. "iterator": "cpp",
  65. "string_view": "cpp",
  66. "string.h": "c",
  67. "testbase.h": "c",
  68. "ryanjson.h": "c",
  69. "chrono": "c",
  70. "random": "c",
  71. "limits": "c",
  72. "algorithm": "c",
  73. "time.h": "c"
  74. }
  75. }