Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Updated VS Code extensions - #383

Merged
awvwgk merged 2 commits into
fortran-lang:masterfrom
gnikit:vscode-update
Mar 20, 2022
Merged

awvwgk merged 2 commits into
fortran-lang:masterfrom
gnikit:vscode-update

Conversation

@gnikit

@gnikit gnikit commented Mar 18, 2022

Copy link
Copy Markdown
Member

Modern Fortran now supports natively Language Server support (FORTRAN Intellisense), formatting (fprettify and findent)

Modern Fortran now supports natively Language Server support (FORTRAN Intellisense), formatting (fprettify and findent)
@certik

certik commented Mar 18, 2022

Copy link
Copy Markdown
Member

Should we still keep the other links in a section like "Other tools", so that people can discover them?

@gnikit

gnikit commented Mar 18, 2022

Copy link
Copy Markdown
Member Author

I think the "Other tools" section should be kept mostly because VSCode without GitLens for big projects is rough.
The extensions that I would vouch for are:

  • GitLens which is crucial IMO
  • Remote Development for SSHing into workstations, WSL and spinning up containers

I would consider adding the CMake extension from Microsoft simply because a lot of people might find it useful (I prefer the command line, but to each their own).

I am not familiar with the TOML extension but I suspect it might be useful for fpm dev work

@certik

certik commented Mar 18, 2022 •

Copy link
Copy Markdown
Member

If you want, just put the links that you removed in this PR to the "Other Tools" or "Additional Tools" section, and we can merge it.

Also edited the features and name of the VS Code extension.
@gnikit

gnikit commented Mar 18, 2022 •

Copy link
Copy Markdown
Member Author

So I think this is a good place for new VS Code users that want to code in Fortran to start. I believe it should be okay now.

As for the tools I completely removed, unfortunately they don't play well with the main Fortran extension anymore, so I would not recommend anyone to install them alongside Modern Fortran.

These extensions would attempt to do the same thing as Modern Fortran but given that they would have the same "priority" I don't know what would happen.

e.g. Having installed both Modern Fortran >= 3.0.0 and FOTRAN Intellisense would lead to multiple duplicate hover messages. GoTo Definition/Implementations would lead to undefined behaviour and using any of the new fortls arguments in your settings would cause FORTRAN Intellisense to crash.

I think the fprettify extension would also have problems with auto-formatting OnSave which some people have enabled globally (and also the behaviour would be undefined).

the breaking point extension I think it has become redundant for Modern Fortran since 2019 when I added full-blown debugger support.

There is another Fortran extension (I think called fortran) which does not have any of these features so I suspect users would need these extensions to have a IDE-like experience in VSCode, but then again that project has not been updated since 2017, so I would not recommend users to use it.

Comment thread learn/os_setup/text_editors.md Resolved
@awvwgk

awvwgk commented Mar 20, 2022

Copy link
Copy Markdown
Member

Thanks for the discussion and feedback everybody. I think we can go ahead and merge.

@awvwgk
awvwgk merged commit 540614b into fortran-lang:master Mar 20, 2022
zmoon pushed a commit to zmoon/fortran-lang.org that referenced this pull request Oct 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants