FORTRAN Language Server for the Language Server Protocol
Project description
A FORTRAN implementation of the Language Server Protocol using Python (2.7+).
Note: This language server is currently in the early stages of development. Not all features are supported or planned.
Language Server Features
Document Symbols:
Auto Completion:
Go to definition:
Hover:
Installation
pip install fortran-language-server
Configuration
Setup module search paths:
By default all files with the suffix f,F,f77,F77,for,FOR,fpp,FPP or f90,F90,f95,F95,f03,F03,f08,F08 in the root_dir directory specified during initialization are parsed and included in the project. Specific folders containing FORTRAN source files can be set for a given project by placing a JSON file (example below) named .fortls in the root_dir directory. Folders to search are listed in the variable mod_dirs (relative to root_dir) and excluded files can be specified using the variable excl_paths. Directories are not added recursively, so any nested sub directories must be explicitly listed.
{ "mod_dirs": ["subdir1", "subdir2"], "excl_paths": ["subdir1/file_to_skip.F90"] }
Bug reports
When filing bugs please provide example code to reproduce the observed issue.
License
This project is made available under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for fortran-language-server-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9de7ca0af2574d72a7cb700f83ad1eab264582c0dea5d17131826b2c961439f9 |
|
MD5 | 6438d12f4d6bd82203e0f175e9f3623f |
|
BLAKE2b-256 | 7013e42130e9c25f7a7dee3319e00a2837ec14c1b115a25b2bc27507f12ed543 |