-
-
Notifications
You must be signed in to change notification settings - Fork 907
Closed
Labels
StaleIssue or pull request which has not been updated in an extended period of time.Issue or pull request which has not been updated in an extended period of time.
Description
Description
Encountered an error when when performing some changes in C files of base folder.
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit
Configuration
I've tried configuring my c_cpp_properties.json as follows:
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"E:/gs_2_stdlib/node_modules/@stdlib/",
"E:/gs_2_stdlib/include/"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"compilerPath": "C:\\MinGW\\bin\\gcc.exe",
"cStandard": "c17",
"cppStandard": "gnu++17",
"intelliSenseMode": "windows-gcc-x64"
}
],
"version": 4
}
### Related Issues
Related issues # , # , and # .
### Questions
How to update includepath in c_cpp_properties.json in VScode?
### Demo
_No response_
### Reproduction
```shell
1. Clone the stdlib repository
2. Navigate to the addon.cpp file at any of addon.cpp file of base: `node_modules\@stdlib\stats\base\..\src\addon.cpp`
3. The IDE shows errors for `#include <node_api.h>`
Expected Results
The node_api.h header should be found correctly without manual path configuration.
Actual Results
Error to find include path
Version
@stdlib/[email protected]
Environments
Node.js
Browser Version
No response
Node.js / npm Version
v20.14.0
Platform
No response
Checklist
- Read and understood the Code of Conduct.
- Searched for existing issues and pull requests.
Metadata
Metadata
Assignees
Labels
StaleIssue or pull request which has not been updated in an extended period of time.Issue or pull request which has not been updated in an extended period of time.