Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Variable substitution #141

Open
stertingen opened this issue Apr 30, 2024 · 0 comments
Open

Feature request: Variable substitution #141

stertingen opened this issue Apr 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@stertingen
Copy link

Is your feature request related to a problem? Please describe.
I would like to set up C/C++ IntelliSense with includes and defines for MEX files for the correct MATLAB installation.
Maybe even the configured compiler for MEX (the one from mex -setup).

Describe the solution you'd like
I would like to use something like ${command:matlab.getMatlabRoot} within settings.json and c_cpp_properties.json.
See also: https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/cmake-settings.md#variable-substitution

Describe alternatives you've considered
Not really, maybe environment variables?
The MATLAB extension could also provide a C/C++ configuration similar to CMake Tools, but i'm not sure how it does that. (https://code.visualstudio.com/docs/cpp/configure-intellisense)

Additional context
Again, CMake Tools provides really convenient variable substitution features.

@stertingen stertingen added the enhancement New feature or request label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant