-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Quickfix for missing header file #10791
Comments
add include |
@M1Z3 This is available in 1.18.4. Some known issues are https://github.com/microsoft/vscode-cpptools/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature%3A+Add+%27%23include%27%22 |
Thanks for the heads-up :)! I followed the activity on this issue and already tested it on pre-release. It seems to work for system headers 🎉 As far as I can see this #10792 is not needed anymore. So I'm going to close it 😉 |
Feature Request
During development it is cumbersome to add missing header files. There should be a quickfix option on an unknown symbol which adds the corresponding header to the current file.
The languageClient in src/LanguageServer/client.ts can be used to query the symbol information and determine the header location. I already implemented the feature as a draft ;)
The text was updated successfully, but these errors were encountered: