Fortran Language Server (FortLS)

Tips and information on how to install and use language servers with the editor.
Post Reply
User avatar
Rickard Johansson
Site Admin
Posts: 6577
Joined: 19 Jul 2006 14:29

Fortran Language Server (FortLS)

Post 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
{}
Post Reply