Fortran language support for Visual Studio Code
fypp
linting support
You can now run and debug individual files. This is useful for debugging small snippets of code. To do this, right-click on the file and select Run File
or Debug File
from the context menu.
The LFortran linter is now available in the extension. It can be enabled by setting the fortran.linter.compiler
setting to lfortran
.
The Modern Fortran
log channel has had a small revamp.
Logs are now colorised to make reading them easier
You can now choose the verbosity level of the extension by setting the following option in the settings
{
"fortran.logging.level": "Error"
}
The extension dependencies are now installed using Visual Studio Code's Tasks. That means that the commands are run from within the VS Code terminal, inheriting any environment variables already present. Particularly useful when using Python virtual environments.
fypp
linting supportAdds some initial support for fypp
when using gfortran
. More compilers will follow soon!
Add support for parsing plain text diagnostics from gfortran
v11+
thus allowing the display of multiline diagnostics
module err_mod
private
implicit none ! <- Error here previously not shown
contains
subroutine foo(arg1, arg2)
integer, intent(in) :: arg1, arg2
print*, 'arg1:', arg1, 'arg2:', arg2
end subroutine foo
subroutine proc_with_err()
call foo()
end subroutine proc_with_err
end module err_mod
Some additional performance improvements have been made to the extension.
Converted the linter into using asynchronous processes, which should improve the overall performance and responsiveness of the diagnostics.
The native symbol provider (one used when fortls
) is not present) has been updated
to use the new VS Code API.
Hide release notes when the extension in being installed or updated.
"fortran.notifications.releaseNotes": true
Added a new icon for the Fortran Language files
Full Changelog: https://github.com/fortran-lang/vscode-fortran-support/compare/v3.2.0...v3.4.0
linter.modOutput
not working for Intel compilers by @gnikit in https://github.com/fortran-lang/vscode-fortran-support/pull/539
Full Changelog: https://github.com/fortran-lang/vscode-fortran-support/compare/v3.1.0...v3.2.0
This is a dummy release of v3.0.0 to take precedence over release v3.0.2022042917.
Due to the migration of the publisher ID the pre-release version v3.0.2022042917
was registered as a normal first release.
That caused v3.0.0 to rank lover on the semver version number since v3.0.2022042917
> v3.0.0
Full Changelog: https://github.com/fortran-lang/vscode-fortran-support/compare/v3.0.0...v3.1.0
Whats New
page to be displayed upon update of the extension.ifx
support Intel's LLVM based compiler ifx
fortls
spawning and integration, checks for initialization values (#422).fortls
against the Language Serverfortls
) making unnecessary the usage of Fortran Intellisense extension (#290)fortls
settings through the UIfortls
optionsvsce
does not support SVG (#510)linter.compilerPath
to use the full path to the compiler instead of the root (#500)fortran-lang
(#450)json
file (#424)README
text and animations, changes SECURITY
and updates package.json
fortran-language-server
to fortls
vsce --pre-release
includePaths
in favour of linter.includePaths
gfortranExecutable
in favour of linter.compilerPath
linterEnabled
in favour of linter.compiler == Disabled
linterExtraArgs
in favour of linter.extraArgs
linterModOutput
in favour of linter.modOutput
ProvideSymbols
in favour of provide.symbols
symbols
provideHover
in favour of provide.hover
provideCompletion
in favour of provide.autocomplete
error stop variable
syntax highlighting (#486)Disabled
to some compiler X
without having to restart the extension (#296)%
accessor highlighting for type-bound subroutines (#325)fortls
not spawning when ignoreWarning
was set to true (#365)onSave
formatting errors (#364)Full Changelog: https://github.com/fortran-lang/vscode-fortran-support/compare/v2.6.2...v3.0.0
ifx
linting support by @gnikit in https://github.com/fortran-lang/vscode-fortran-support/pull/477
Full Changelog: https://github.com/fortran-lang/vscode-fortran-support/compare/v2.6.2...v3.0.2022060321
Full Changelog: https://github.com/krvajal/vscode-fortran-support/compare/v2.6.1...v2.6.2