Skip to content

Commit

Permalink
add config d.enableCcdbLinting
Browse files Browse the repository at this point in the history
  • Loading branch information
rtbo committed May 23, 2023
1 parent 919913a commit 301f4e3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@
"type": "boolean",
"scope": "resource",
"default": true,
"markdownDescription": "Enable errors and warnings (squiggly lines) while editing source code.\n\nTurning this off disables all diagnostics coming from code-d.You can toggle\n\n- `#d.enableSDLLinting#`\n- `#d.enableDubLinting#`\n- `#d.enableStaticLinting#`\n\nfor finer control instead."
"markdownDescription": "Enable errors and warnings (squiggly lines) while editing source code.\n\nTurning this off disables all diagnostics coming from code-d.You can toggle\n\n- `#d.enableSDLLinting#`\n- `#d.enableDubLinting#`\n- `\n- `#d.enableCcdbLinting#`\n- `#d.enableStaticLinting#`\n\nfor finer control instead."
},
"d.enableStaticLinting": {
"order": 1,
Expand All @@ -645,11 +645,18 @@
"default": true,
"markdownDescription": "Compile DUB projects on save to check for compile errors.\n\nThis is very similar to running `dub build` on the command line to see what actual errors occur, but does not output any executable or library.\n\nOnly has an effect if `#d.enableLinting#` is also turned on."
},
"d.enableSDLLinting": {
"d.enableCcdbLinting": {
"order": 3,
"type": "boolean",
"scope": "resource",
"default": true,
"markdownDescription": "Compile file with `compile_commands.json` on save to check for compile errors.\n\nOnly has an effect if `#d.ccdbPath` is set and `#d.enableLinting#` is also turned on."
},
"d.enableSDLLinting": {
"order": 4,
"type": "boolean",
"scope": "resource",
"default": true,
"markdownDescription": "Check `dub.sdl` files for errors and warnings.\n\nOnly has an effect if `#d.enableLinting#` is also turned on."
},
"d.lintOnFileOpen": {
Expand Down

0 comments on commit 301f4e3

Please sign in to comment.