-
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
support relative paths for forcedInclude #2780
Comments
What exactly do you mean? |
I've included headerfiles from included folders, but they don't get included unless I specify them with full path |
This looks like it would be an easy bug for us to fix -- we fixed it 4 months ago for forced includes that are specified in the compile_commands (i.e. if a non-valid path is in forcedInclude, then try appending each includePath to find the first one that is valid). |
PlatformIO users also experience this issue platformio/platformio-core#3379 How is it difficult to fix it? Do we have any workarounds? |
@ivankravets I just took a (quick) look into it and it may be a problem with the actual (external) languageserver. I don't think it is open source :/ because there are only links to binaries. |
This extension is open source. Microsoft claims that VSCode is open source. |
Yeah, kind of... But it seems to use a closed source language server. In the package.json Line 1779 is the download link for binaries containing the languageserver. This repo only seem to contain the client. I haven't seen a reference to the source of the actual languageserver. If you find its source I will take a look into it |
This is the main reason why do we have a lot of issues and a slow development process. The community can't contribute and help. @robotdad what is a reason for keeping this project close sourced? |
|
@sean-mcmanus thanks so much for the quick answer! Yes, I got you. We did a quick fix on our side platformio/platformio-core@fbfbf34 and plan to publish bugfix release of PIO Core 4.2.1 next week. Could you check this
Thanks! |
@ivankravets The data looks fine to me. The empty |
Should be fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/0.28.0-insiders2 . |
This issue is fixed in 0.28.0. |
I'd like forcedInclude to use the specified include paths. At the moment it is necessary to specify the full path.
The text was updated successfully, but these errors were encountered: