Skip to content

Commit 6756be6

Browse files
authored
update c_cpp_properties.json documentation to version 3 (#1615)
1 parent a6c6c7e commit 6756be6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/LanguageServer/c_cpp_properties.json.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"name": "Win32",
1010
"intelliSenseMode": "msvc-x64",
1111
"includePath": [ "${workspaceRoot}" ],
12+
"macFrameworkPath": [ "/System/Library/Frameworks" ],
1213
"defines": [ "FOO", "BAR=100" ],
1314
"compileCommands": "/path/to/compile_commands.json",
1415
"browse": {
@@ -18,7 +19,7 @@
1819
}
1920
}
2021
],
21-
"version": 2
22+
"version": 3
2223
}
2324
```
2425

@@ -41,6 +42,9 @@
4142
* #### `includePath`
4243
If `"C_Cpp.intelliSenseEngine"` is set to "Default" in your settings file, this list of paths will be used by IntelliSense to search for headers included by your source files. This is basically the same as the list of paths you pass to your compiler with the `-I` switch; the IntelliSense engine will not do a recursive search in these paths for includes.
4344

45+
* #### `macFrameworkPath`
46+
If `"C_Cpp.intelliSenseEngine"` is set to "Default" in your settings file, this list of paths will be used by IntelliSense to search for framework headers included by your source files. This is basically the same as the list of paths you pass to your compiler with the `-F` switch; the IntelliSense engine will not do a recursive search in these paths for includes.
47+
4448
* #### `defines`
4549
If `"C_Cpp.intelliSenseEngine"` is set to "Default" in your settings file, this list of preprocessor symbols will be used by IntelliSense during the compilation of your source files. This is basically the same as the list of symbols you pass to your compiler with the `-D` switch.
4650

0 commit comments

Comments
 (0)