You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cmake-settings.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ Options that support substitution, in the table below, allow variable references
48
48
|`cmake.deleteBuildDirOnCleanConfigure`| If `true`, delete build directory during clean configure. |`false`| no |
49
49
|`cmake.emscriptenSearchDirs`| List of paths to search for Emscripten. |`[]`| no |
50
50
|`cmake.enableAutomaticKitScan`| Enable automatic kit scanning. |`true`| no |
51
-
|`cmake.enabledOutputParsers`| List of enabled output parsers. |`["cmake", "gcc", "gnuld", "msvc", "ghs", "diab"]`| no |
51
+
|`cmake.enabledOutputParsers`| List of enabled output parsers. |`["cmake", "gcc", "gnuld", "msvc", "ghs", "diab", "iwyu"]`| no |
52
52
|`cmake.enableLanguageServices`| If `true`, enable CMake language services. |`true`| no |
53
53
|`cmake.enableTraceLogging`| If `true`, enable trace logging. |`false`| no |
54
54
|`cmake.environment`| An object containing `key:value` pairs of environment variables, which will be available when configuring, building, or testing with CTest. |`{}` (no environment variables) | yes |
Copy file name to clipboardExpand all lines: package.nls.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -138,7 +138,7 @@
138
138
"cmake-tools.configuration.cmake.ctest.debugLaunchTarget.description": "Target name from launch.json to start when debugging a test with CTest. By default and in case of a non-existing target, this will show a picker with all available targets.",
139
139
"cmake-tools.configuration.cmake.parseBuildDiagnostics.description": "Parse compiler output for warnings and errors.",
"message": "Output parsers to use. Supported parsers `cmake`, `gcc`, `gnuld` for GNULD-style linker output, `msvc` for Microsoft Visual C++, `ghs` for the Green Hills compiler with --no_wrap_diagnostics --brief_diagnostics, and `diab` for the Wind River Diab compiler.",
141
+
"message": "Output parsers to use. Supported parsers `cmake`, `gcc`, `gnuld` for GNULD-style linker output, `msvc` for Microsoft Visual C++, `ghs` for the Green Hills compiler with --no_wrap_diagnostics --brief_diagnostics, `diab` for the Wind River Diab compiler, and `iwyu` for include-what-you-use diagnostics.",
142
142
"comment": [
143
143
"Markdown text between `` should not be translated or localized (they represent literal text) and the capitalization, spacing, and punctuation (including the ``) should not be altered."
expect(all.message).to.eq('The full include-list:\n#include <stdbool.h> // for bool\n#include <stdint.h> // for uint32_t, uint8_t\n#include <stdio.h> // for fprintf, FILE, printf, NULL, stdout\n#include "array.h" // for ARRAY_SIZE');
844
+
expect(all.severity).to.eq('note');
845
+
});
846
+
847
+
test('Parse IWYU with only additions',()=>{
848
+
constlines=[
849
+
'/home/user/src/project/main.c should add these lines:',
850
+
'#include <stdbool.h> // for bool',
851
+
'',
852
+
'/home/user/src/project/main.c should remove these lines:',
853
+
'',
854
+
'The full include-list for /home/user/src/project/main.c:',
0 commit comments