Skip to content

Commit 677e3ef

Browse files
authored
Update FAQ.md
Added more text to explain how to `Force semantic IntelliSense`.
1 parent 5de2be5 commit 677e3ef

File tree

1 file changed

+2
-2
lines changed
  • Documentation/LanguageServer

1 file changed

+2
-2
lines changed

Documentation/LanguageServer/FAQ.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
There are two IntelliSense engines present in the extension: the "fuzzy" engine (or Tag Parser), and the new "Default" engine. If you are using version 0.11.0 or higher of the cpptools extension, then you can preview our new IntelliSense engine which has more accurate auto-complete suggestions and tooltips. To use the new engine, you need to ensure that `"C_Cpp.intelliSenseEngine"` is set to `"Default"` in your settings. Since the engine is still in preview it is not on by default for everyone yet.
1414

15-
After selecting the IntelliSense engine that you prefer, take a look at the Problems window in VS Code to see if you need to do any further configuration for your folder. For example, the Default engine will not provide squiggles and auto-complete suggestions for a translation unit (read: a source file and its dependencies) if the include path is not configured properly. You can select any of the problems in the window to navigate to the line when the problem was detected and a lightbulb will appear in the editor with some options to help you resolve the problem.
15+
After selecting the IntelliSense engine that you prefer, take a look at the Problems window in VS Code to see if you need to do any further configuration for your folder. For example, the Default engine will not provide squiggles and auto-complete suggestions for a translation unit (read: a source file and its dependencies) if the include path is not configured properly. You can select any of the problems in the window to navigate to the line when the problem was detected and a lightbulb will appear in the editor with some options (code actions) to help you resolve the problem.
1616

1717
1. Update your includePath (and preprocessor defines)
1818
2. Force semantic IntelliSense
@@ -25,7 +25,7 @@ Add the necessary paths to your include files to the `"includePath"` array. The
2525

2626
#### Force semantic IntelliSense
2727

28-
If you want IntelliSense to operate on your files even when all #include directives do not resolve, then you can choose the option to always use the new IntelliSense engine.
28+
If you want IntelliSense to operate on your files even when all #include directives do not resolve, then you can choose the `Force semantic IntelliSense` code action to always use the new IntelliSense engine. You can also set the `C_Cpp.intelliSenseEngineFallack` setting to `"Disabled"`.
2929

3030
## How do I get the new IntelliSense to work with MinGW on Windows?
3131

0 commit comments

Comments
 (0)