Skip to content

Commit 0ef7895

Browse files
committed
add config d.enableCcdbLinting
1 parent 05f48cf commit 0ef7895

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
@@ -636,7 +636,7 @@
636636
"type": "boolean",
637637
"scope": "resource",
638638
"default": true,
639-
"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."
639+
"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."
640640
},
641641
"d.enableStaticLinting": {
642642
"order": 1,
@@ -652,11 +652,18 @@
652652
"default": true,
653653
"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."
654654
},
655-
"d.enableSDLLinting": {
655+
"d.enableCcdbLinting": {
656656
"order": 3,
657657
"type": "boolean",
658658
"scope": "resource",
659659
"default": true,
660+
"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."
661+
},
662+
"d.enableSDLLinting": {
663+
"order": 4,
664+
"type": "boolean",
665+
"scope": "resource",
666+
"default": true,
660667
"markdownDescription": "Check `dub.sdl` files for errors and warnings.\n\nOnly has an effect if `#d.enableLinting#` is also turned on."
661668
},
662669
"d.lintOnFileOpen": {

0 commit comments

Comments
 (0)