REditorSupport / REditorSupport/vscode-R
Add package's own `inst/include` with "Generate C/C++ configuration"...
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
Is your feature request related to a problem? Please describe.
Currently, when invoking "R package: Generate C/C++ configuration", every package
that is stated in LinkingTo is added in the includePath path via <pkg>/inst/include,
in that you run something akin to system.file("include", package = <pkg>).
What would be very nice, is if you tested if the current package had a inst/include, and
added that to the includePath in .vscode/c_cpp_properties.json.
I wouldn't add src/include, as that seems excessive, but it is also an option.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the implementation of the “R package: Generate C/C++ configuration” command and its generation of .vscode/c_cpp_properties.json; inspect how LinkingTo packages contribute include paths. Done means the current package’s inst/include is included when present, without adding src/include.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript, vscode
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100