settings.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "clangd.enable": false,
  3. "C_Cpp.intelliSenseEngine": "default",
  4. "C_Cpp.codeAnalysis.clangTidy.enabled": true,
  5. "c-cpp-flylint.enable": true,
  6. "c-cpp-flylint.cppcheck.severityLevels": {
  7. "error": "Error",
  8. "warning": "Warning",
  9. "style": "Information",
  10. "performance": "Information",
  11. "portability": "Information",
  12. "information": "Information"
  13. },
  14. "c-cpp-flylint.cppcheck.extraArgs": [
  15. // "--suppress=constParameterPointer",
  16. // "--suppress=constParameterCallback",
  17. "--check-level=exhaustive",
  18. // "--suppress=variableScope",
  19. // "--suppress=unreadVariable",
  20. // "--suppress=constVariablePointer",
  21. // "--suppress=constParameter",
  22. ],
  23. "files.watcherExclude": {
  24. "**/test/fuzzer/corpus/**": true,
  25. "./docs": true,
  26. "./build": true,
  27. "./.xmake": true,
  28. },
  29. "files.exclude": {
  30. "**/test/fuzzer/corpus/**": true,
  31. "./docs": true,
  32. "./build": true,
  33. "./.xmake": true,
  34. },
  35. "files.associations": {
  36. "*.c": "c",
  37. "inttypes.h": "c",
  38. "float.h": "c",
  39. "stdlib.h": "c",
  40. "limits.h": "c",
  41. "stdio.h": "c",
  42. "stdint.h": "c",
  43. "ryanjsontest.h": "c",
  44. "dirent.h": "c",
  45. "valloc.h": "c",
  46. "initializer_list": "c",
  47. "array": "c",
  48. "string_view": "c",
  49. "utility": "c",
  50. "math.h": "c",
  51. "compare": "c",
  52. "type_traits": "c",
  53. "cjson.h": "c",
  54. "ryanjson.h": "c",
  55. "string.h": "c",
  56. "stdarg.h": "c",
  57. "cstdlib": "c",
  58. "ryanjsonconfig.h": "c"
  59. },
  60. }