-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Substitution for fortran.gfortranExecutable #213
Comments
Totally agree. I think the extension should set header and compiler path based on something like compile_commands.json similar to clangd server. This file can be generated by most high level make tools https://www.jetbrains.com/help/clion/compilation-database.html#compdb_generate |
That would certainly be an interesting feature to have. I am not a big user of CMake, I tend to use GNU autotools, but I suspect that if we were to integrate build systems like CMake in the extension, it would have to happen at a level that does not affect the VSCode settings, since depending how you have setup VSCode project these settings could be synced across all other projects. I suspect that a similar option could be applied for the I am more than happy to hear your thoughts on how this could be implemented in a reasonable manner. |
Well, to be more specific, I run the MSYS2 extension for VS Code where C/C++ support is pretty complete though the MS' CMakeTools and CppTools extensions and FORTRAN support is lagging behind due to lack of such substitution. |
@okhlybov Out of curiosity wouldn't |
No. The |
That is unfortunate, I was hoping we could squeeze this into PR #238 but if the settings string uses |
Well, I don't think that the As for example, take a look at my CMakeWorks project.
Yes, the C/C++ part works pretty well. These issues should be considered when adding interpolation support to the Fortran extension. |
Variable interpolation has been added to |
Hi,
It would be very nice to have the
fortran.gfortranExecutable
command substitution in order to set it up programmically, for example to keep it in sync with the toolchain in effect, instead of having it hard coded.Consider something like
The text was updated successfully, but these errors were encountered: