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
{{ message }}
Repository navigation
How to completely disable intelliSense linting? #791
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:
changed the title [-]How to completely disable intelliSense linting and autocomplete?[/-][+]How to completely disable intelliSense linting?[/+]on Jun 1, 2017
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 browse.path by default. You won't be able to goto definition or get tooltips on symbols defined in your GCC toolchain because they are not in the browse.path. You have no need for these?
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?
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.
Activity
[-]How to completely disable intelliSense linting and autocomplete?[/-][+]How to completely disable intelliSense linting?[/+]bobbrow commentedon Jun 1, 2017
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.
yh-sb commentedon Jun 2, 2017
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.
bobbrow commentedon Jun 2, 2017
Exactly. Those files are not in your
browse.pathby default. You won't be able to goto definition or get tooltips on symbols defined in your GCC toolchain because they are not in thebrowse.path. You have no need for these?yh-sb commentedon Jun 2, 2017
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?
sean-mcmanus commentedon Jun 2, 2017
The browse.path setting is recursive unless it ends with *, and the default settings includes ${workspaceRoot} in the browse.path (behind the scenes).
bobbrow commentedon Jun 2, 2017
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.