From 301f4e301c19e28a9eeb714badd7a58d05c9e46e Mon Sep 17 00:00:00 2001 From: Remi Thebault Date: Tue, 23 May 2023 15:25:44 +0200 Subject: [PATCH] add config d.enableCcdbLinting --- package.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a29dcc4..9f3a44b 100644 --- a/package.json +++ b/package.json @@ -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, @@ -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": {