Skip to content
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

Core: Network paths wrong in c_cpp_properties.json #3926

Closed
Rotma opened this issue Apr 13, 2021 · 2 comments
Closed

Core: Network paths wrong in c_cpp_properties.json #3926

Rotma opened this issue Apr 13, 2021 · 2 comments

Comments

@Rotma
Copy link

Rotma commented Apr 13, 2021

Operating system: Win10
PlatformIO Version ) : 5.1.1

Network paths (UNC) in the "c_cpp_properties.json" file are missing the first '/'
Intellisense not working for the affected files...

project on network drive: //nas/project (or y:/project)
Some libs on network : //nas/mylibs (or y:/mylibs)

platformio.ini

[env:leonardo]
platform = atmelavr
board = leonardo
framework = arduino
lib_extra_dirs =\nas\mylibs

Tested also with "lib_extra_dirs =y:\mylibs"
same result wil also show up as /nas/mylibs

c_cpp_properties.json (the auto generated file)

// !!! WARNING !!! AUTO-GENERATED FILE!
// PLEASE DO NOT MODIFY IT AND USE "platformio.ini":
// https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags
//
{
"configurations": [
{
"name": "PlatformIO",
"includePath": [
"/nas/project/include",
~~~~~~~~~~~~~~ (cannot find dir)
"/nas/data/mylibs",
~~~~~~~~~~~~~~(cannot find dir)

JR

@ivankravets
Copy link
Member

Please re-test with pio upgrade --dev.

Does it work now?

@Rotma
Copy link
Author

Rotma commented Nov 13, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants