-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
Wrong includePath when indexing intellisense #1154
Comments
Thanks a lot for the report! Please open PIO IDE Terminal and run
Restart IDE. |
Thanks! It work perfectly.
I don't know if it has something to do with platformio or visual studio
code, but the editor is interpreting all files as C instead of C++, for .h
and .cpp files.
Thanks
Fer
…On Wed, Nov 1, 2017 at 9:14 AM, Ivan Kravets ***@***.***> wrote:
Thanks a lot for the report!
Please open PIO IDE Terminal and run
pio upgrade
Restart IDE.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1154 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFP8AyttOGKl0a65Gg_hVt6UZKPWVFZcks5syGCpgaJpZM4QMx3R>
.
|
I think you can configure that in VSCode. Click on "CPP" in the bottom right corner. |
Yes, but previous to some updates of platformio and visual studio code it
auto detects to C instead of C++ as previous. I will try to recreate the
project to check if that solves the problem.
Thabks
El El mié, 1 nov. 2017 a las 16:41, Ivan Kravets <notifications@github.com>
escribió:
I think you can configure that in VSCode. Click on "CPP" in the bottom
right corner.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1154 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFP8A007FbBA4NUabcVQZxvD_CVLZy09ks5syMmCgaJpZM4QMx3R>
.
--
Fer
|
ivankravets
added a commit
that referenced
this issue
Dec 28, 2017
… issue #1236, issue #1235, issue #953, issue #1118, issue #1107, issue #1196, issue #1179, issue #1161, issue #1126, issue #104, issue #1033, issue #1034, issue #1175, issue #1173, issue #1155, issue #1188, issue #1111, issue #1153, issue #1150, issue #1145, issue #1139, issue #1137, issue #1170, issue #1157, issue #1102, issue #1105, issue #1140, issue #1154, issue #1066, issue #1038, issue #1054, issue #1055, issue #1061, issue #1017)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When opening visual studio code on a Mac OS High Sierra, autoindexing for intellisense takes palce, and it doesn't include the include path for the std library of C++ under esp8266 platform.
If I manually include this include paths,
"~/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2"
"~/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/xtensa-lx106-elf"
the problem is solved, but when I restart visual studio code, the indexing takes place and those include paths are missing again.
The text was updated successfully, but these errors were encountered: