Completions for symbols in unity.h and custom, common include files (e.g. test_main.h) are not found by intellisense.
c_cpp_properties.json:
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.19041.0",
"compilerPath": "cl.exe",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-msvc-x64",
"configurationProvider": "nordic-semiconductor.nrf-connect"
}
],
"version": 4
Tried and didn't work:
- adding the test project as a separate application
- adding ${workspaceFolder}/test/inc (location of test_main.h) to includePath or browse.path
- searched for location of unity.h in SDK and toolchain folders came up with no results. Is it a generated file?
1258.test.zip
Test project attached ^