-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to completely disable intelliSense linting? #791
Comments
We don't have an option to turn off linting for include paths. The extension won't work as you expect if include files cannot be opened so we need to let you know somehow that the the symbols defined in those files won't be available to you for goto/peek definition/declaration. |
But in my case I don't setup include paths for cpptools and "go/pick to definition/declaration" works very well despite the fact that the .h files are in different folders in the project. So, "go/pick to definition/declaration" works well without include paths, should be option to disable these annoying and senseless error messages about the include paths? Note: the problem is related only to .h file which goes with GCC toolchain. |
Exactly. Those files are not in your |
I write it one more time: "go/pick to definition/declaration" works well without include paths. All *.h and *.c files which have well working "go to definition" function placed in directories, which doesn't described in c_cpp_properties.json and they are included like this (for example) "sys_rtc.h" or "v_convert.c" (without direct path in the source code). Does cpptools extension make recursive search on the ${workspaceRoot} directory? |
The browse.path setting is recursive unless it ends with *, and the default settings includes ${workspaceRoot} in the browse.path (behind the scenes). |
Yes, @r44083, I understand that goto definition/declaration will work for your files under ${workspaceRoot}. I was asking whether you cared about this working for stuff defined in GCC headers. It sounds like you don't. We have no current plans to add a setting to disable these, but we can add this to our backlog. The messages are not senseless, but I'm sorry if they annoy you. There are other users would do care about goto definition/declaration working for files outside of the ${workspaceRoot} and appreciate getting feedback from the editor as to why. |
I need to disable all linting (or error output to the "PROBLEMS" view) and autocomplete. I want to use only "go/pick to definition/declaration" function.
At this moment I have these settings, which related to cpptools extension:
But I still get "Include file not found in include path." errors in "PROBLEMS" view.
So, is it possible at all?
The text was updated successfully, but these errors were encountered: