-
-
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
feat: Auto-generation of launch.json
and tasks.json
#977
Comments
While I agree that some automatic generation of I think that a more complete approach would be a command that generates a new |
This is a great idea @fedebenelli. FYI there are plans for making fpm fully integrated with VS Code similar to CMake, but we will probably save that for a GSoC project or a funding proposal, since the dev time required would be in the hundreds of hours. |
@yuxuan-z19 No it is not currently possible. We rely 100% on the C++ extension so for me software-wise it makes sense not duplicating these file generation processes, since they will inevitably get outdated. I appreciate that this is not the most reasonable thing for a user though. Users just want to have these scripts ready. Maybe there is a way (through some registered command) to call the C++ extension's task and launch generation scripts and then edit them. |
I red in the description that the extension somehow uses the C/C++ extension for debugging. How do I do it? Somehow there is no run or debug button like in C/C++
|
@TheFibonacciEffect I assume you have installed the (Microsoft) C/C++ and Modern Fortran extensions. Referring to this post, place the config files under a Following what it says, your debugging console should be ready. I've made the configs available here. Feel free to use ; ) |
I also have made some sane defaults here: https://github.com/ipqa-research/vscode-fortran if anyone is intersted |
Is there an existing request for this?
Feature Request
I'd like to request a feature "Fortran: gfortran build and debug active file", just like what the C/C++ extension does when someone debugs his
.c
or.cpp
source code. Obviously we needtasks.json
configured as well (to setup apreLaunchTask
).Here are my configurations:
I was wondering if there's a way to generate
launch.json
andtasks.json
automatically with minor modification to this extension.The text was updated successfully, but these errors were encountered: