Page 1 of 1

Fortran Language Server (FortLS)

Posted: 15 Apr 2023 17:46
by Rickard Johansson
Fortran Language Server (FortLS)
FortLS is an implementation of the Language Server Protocol (LSP) for Fortran using Python (3.7+).

Install Python (if not installed already).
>pip install fortls

Now you can add the server to a project.

Add the server in project/sites settings

Server name
Fortran Language Server (FortLS)

Command
fortls.exe

Initial folder
%localappdata%\Programs\Python\Python39\Scripts

Command line arguments
--notify_init --hover_signature --use_signature_help

File extension and language id
.f=fortran
.for=fortran
.f90=fortran
.f95=fortran
.f03=fortran

Communication channel
* Command line (stdio)

Source folders
<Path to your go project files>

Initialize options
{}