Skip to content

Commit 301f4e3

Browse files
committed
add config d.enableCcdbLinting
1 parent 919913a commit 301f4e3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@
629629
"type": "boolean",
630630
"scope": "resource",
631631
"default": true,
632-
"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."
632+
"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."
633633
},
634634
"d.enableStaticLinting": {
635635
"order": 1,
@@ -645,11 +645,18 @@
645645
"default": true,
646646
"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."
647647
},
648-
"d.enableSDLLinting": {
648+
"d.enableCcdbLinting": {
649649
"order": 3,
650650
"type": "boolean",
651651
"scope": "resource",
652652
"default": true,
653+
"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."
654+
},
655+
"d.enableSDLLinting": {
656+
"order": 4,
657+
"type": "boolean",
658+
"scope": "resource",
659+
"default": true,
653660
"markdownDescription": "Check `dub.sdl` files for errors and warnings.\n\nOnly has an effect if `#d.enableLinting#` is also turned on."
654661
},
655662
"d.lintOnFileOpen": {

0 commit comments

Comments
 (0)