formulahendry / formulahendry/vscode-code-runner

Add include paths for C and C++ automatically

Open
#292 5 comments 19 reactions 0 assignees View on GitHub
feature request
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

Improvement suggestion:

VS Code supports adding include paths to a file `c_cpp_properties.json` under `[dir]/.vscode` as an `"includePath"` array.

Code Runner could pick up these automatically and pass each one to `gcc` and `g++` as arguments to the `-I` parameter.

Preferably, it would only do this for non-default paths.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.