-
Notifications
You must be signed in to change notification settings - Fork 11
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
Disable CDT indexer when LSP is activated #147
Comments
I am not sure if this should be done automatically. However, this issue here will introduce a dependency the user is not aware of. @jonahgraham WDYT? |
I think this is a good idea for the first version(s) - it makes it explicit what is going on. That should also allow vendors to default LSP on and Indexer off without prompts and in the future we can make the "don't show this dialog again" the default so that it isn't shown. |
Is there already a API to disable the indexer? I.e. via extension point(s)? |
I simply don't know :-( If you need help finding answer let me know. I doubt there is an extension point mechanism to control it, there is probably code, but it may not be API. Like the other changes though I wouldn't make any new public API for this and just make cdt lsp friends with cdt. |
I investigated it a little. I think we should provide a extension for this. I think it must be somewhere around here: |
The extension could implement a method like But that's not the end of the story. |
If there is a preference store id for the |
This does the trick for me to disable the indexer at the workspace level. |
When the LSP editor is used in a C/C++ project or workspace, the CDT indexer should be disabled for the project or workspace:
Alternative: Disable and hide indexer settings when LSP editor is activated?
The text was updated successfully, but these errors were encountered: