You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fortitude Fortran linter project just popped up in my GitHub feed. Could it be integrated in the VS Code extension? https://github.com/PlasmaFAIR/fortitude
The text was updated successfully, but these errors were encountered:
I have a very basic implementation using the tasks.json (this is my first time ever attempting such a thing, so I'm not sure if it is the best implementation). It would be amazing if the Modern Fortran extension could take care of this.
{
// See https://go.microsoft.com/fwlink/?LinkId=733558// for the documentation about the tasks.json format"version": "2.0.0",
"tasks": [
{
"label": "Fortitude Check",
"type": "shell",
"command": "${env:HOME}/miniforge3/envs/fortran-tools/bin/fortitude", // Edit with path to your fortitude"args": [
"check",
"${fileDirname}"
],
"runOptions": {
"runOn": "folderOpen"
},
"problemMatcher": {
"owner": "Fortitude",
"fileLocation": "relative",
"source": "Fortitude",
"pattern": {
"regexp": "^(.*?):(\\d+):(\\d+):\\s(\\w+)\\s(.+)$",
"file": 1,
"line": 2,
"column": 3,
"code": 4,
"message": 5
}
},
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "never",
"panel": "shared"
}
}
]
}
I had to use the "Trigger Task on Save" extension to apply the linting whenever I save. This was added to my settings.json
Is there an existing request for this?
I have tried the Pre-Release of the extension.
Feature Request
The fortitude Fortran linter project just popped up in my GitHub feed. Could it be integrated in the VS Code extension?
https://github.com/PlasmaFAIR/fortitude
The text was updated successfully, but these errors were encountered: