Skip to content

Request to load $CPATH automatically #3940

@lisanhu

Description

@lisanhu

Type: LanguageService

This is a feature request that is requesting to parse system environment variable automatically and put the paths in includePath, and hope it will also work for remote development if this feature is implemented.

Describe the bug

  • OS and Version: MacOS
  • VS Code Version: Version: 1.37.0-insider-commit-fd5985489982fe14381dd56e6f0b29c53d5f991b
  • C/C++ Extension Version: 0.24.0
  • Other extensions you installed (and if the issue persists after disabling them):
  • A clear and concise description of what the bug is.
    The plug-in reports an error about not able to find the include files. However, the files are just in my $CPATH system environment. The system is a remote cluster using environment modules and it has my libraries loaded as modules. Those modules are changing the $CPATH environment variable and the extension could not find the headers. So I'm requesting the extension to parse the environment variables, which would be really great.

Metadata

Metadata

Assignees

Labels

Feature RequestFeature: ConfigurationAn issue related to configuring the extension or IntelliSenseLanguage ServicefixedCheck the Milestone for the release in which the fix is or will be available.help wantedCan be fixed in the public (open source) repo.quick fix

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions