Open
Description
Is there an existing request for this?
- I have searched the existing issues
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 need tasks.json
configured as well (to setup a preLaunchTask
).
Here are my configurations:
// .vscode/tasks.json
{
"tasks": [
{
"type": "shell",
"label": "Fortran: gfortran build active file",
"command": "/usr/bin/gfortran",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "${fileDirname}"
},
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Task generated by Debugger"
}
],
"version": "2.0.0"
}
I was wondering if there's a way to generate launch.json
and tasks.json
automatically with minor modification to this extension.