-
-
Notifications
You must be signed in to change notification settings - Fork 785
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
Feature Request: Ability to set databaseFilename in c_cpp_properties.json #2825
Comments
Please re-test with For example, I tested with this and it works:
|
Yup, that seems to do the trick... With
But something is writing
back if I close and open VSCode, during the "PlatformIO: IntelliSense Index Rebuild" stage (after I had manually removed the line, and saved the change. The template file is correct also.). Any idea if that is something in VSCode, or the vscode-extension, or a bug in the insider build? |
http://docs.platformio.org/en/latest/faq.html#multiple-pio-cores-in-a-system Please remove other PlatformIO Cores and use built-in in VSCode. |
tl;dr It's working now... Works perfectly on Linux, Windows needed... a reboot? I'm running dual environments on Windows with PIO (release) on VSCode, and PIO (development) on VSCode Insiders and the following in the VSCode Insiders user
|
It would be good if there was some way to set the databaseFilename specified in the auto-generated
c_cpp_properties.json
when using VSCode. Even better if it could be set via a VSCode setting, as well as/or rather than a platformio.ini parameter, as it could then span workspaces, and not need to be constantly (re-)configured. Hence the sometimes small (20MB), sometimes larger (80MB+) database files could be put somewhere with enough storage space.Also need to investigate why the following VSCode do not appear to work.
Forum link: https://community.platformio.org/t/vscode-browse-c-cpp-db-in-each-project/7152/8
Also related : platformio/platformio-vscode-ide/issues/787
The text was updated successfully, but these errors were encountered: