Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>fixedformfortranlinterNew to Visual Studio Code? Get it now.
fixedformfortranlinter

fixedformfortranlinter

thijs

|
3,431 installs
| (0) | Free
a linter for fixed form fortran
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

fixedformfortranlinter README

Just a small extension that does some formatting for fixed form fortran.

Features

If a line exceeds the 72 column limit, it will be split over two lines and a line continuation character is added. Some attempt at determining the line continuation character is made, with "$" taken as the default.

If a line that is spread over multiple lines can be shortened, the formatter will do so.

It also removes whitespace before and after ",", "+", "-" and "*". This is a stylistic choice, defended as follows: less characters -> less line continuations -> more readable code

Lastly, some intrinsics will be converted from upper to lower case.

Known Issues

Assumes indentation with spaces and and indentation size of 3, does not understand fortran so cannot do stuff like smart indentation or selective formatting.

No option to disable the separate features is provided

Only line continuations directly after the previous line are recognized

Release Notes

0.0.3

With this release, the formatter also turns upper into lower case for some intrinsics.

0.0.2

With this release, the formatter also removes whitespace between function arguments and operators.

0.0.1

Initial release, only features automatic line continuation.


  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft