mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fixed an issue with VSCode IntelliSense warning about the missed headers located in "include" folder
This commit is contained in:
@ -7,6 +7,7 @@ PlatformIO 3.0
|
||||
3.6.2 (2018-??-??)
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* Fixed an issue with VSCode IntelliSense warning about the missed headers located in `include <http://docs.platformio.org/page/projectconf/section_platformio.html#include-dir>`__ folder
|
||||
* Fixed incorrect wording when initializing/updating project
|
||||
|
||||
3.6.1 (2018-10-29)
|
||||
|
@ -25,7 +25,7 @@ from platformio.managers.core import get_core_package_dir
|
||||
|
||||
|
||||
def _dump_includes(env):
|
||||
includes = [env.subst("$PROJECTINCLUDE_DIR"), env.subst("$PROJECTSRC_DIR")]
|
||||
includes = []
|
||||
|
||||
for item in env.get("CPPPATH", []):
|
||||
includes.append(env.subst(item))
|
||||
@ -53,6 +53,9 @@ def _dump_includes(env):
|
||||
if unity_dir:
|
||||
includes.append(unity_dir)
|
||||
|
||||
includes.extend(
|
||||
env.subst("$PROJECTINCLUDE_DIR"), env.subst("$PROJECTSRC_DIR"))
|
||||
|
||||
# remove duplicates
|
||||
result = []
|
||||
for item in includes:
|
||||
|
Reference in New Issue
Block a user