fortls - Fortran Language Server for the Language Server
Protocol
usage: fortls [options] [debug options]
fortls - Fortran Language Server
- -h, --help
- show this help message and exit
- -v, --version
- Print server version number and exit
- -c CONFIG, --config
CONFIG
- Configuration options file (default file name: .fortlsrc, other default
supported names: .fortls.json, .fortls)
- -n INTEGER, --nthreads
INTEGER
- Number of threads to use during workspace initialization (default: 4)
- --notify_init
- Send notification message when workspace initialization is complete
- --incremental_sync
- Use incremental document synchronization (beta)
- --sort_keywords
- Display variable keywords information, function/subroutine definitions,
etc. in a consistent (sorted) manner default: no sorting, display code as
is)
- --disable_autoupdate
- fortls automatically checks PyPi for newer version and installs them.Use
this option to disable the autoupdate feature.
- --preserve_keyword_order
- DEPRECATED, this is now the default. To sort use sort_keywords
- --debug_log
- Generate debug log in project root folder
- --debug_help
- Display options for debugging fortls
- --pp_suffixes
[SUFFIXES ...]
- File extensions to be parsed ONLY for preprocessor commands (default: all
uppercase source file suffixes)
- --include_dirs
[DIRS ...]
- Folders containing preprocessor files with extensions PP_SUFFIXES.
- --pp_defs
PP_DEFS
- A dictionary with additional preprocessor definitions. Preprocessor
definitions are normally included via INCLUDE_DIRS
- --enable_code_actions
- Enable experimental code actions (default: false)
All options starting with '--' can also be set in a configuration
file, by default named '.fortlsrc', '.fortls.json' or '.fortls' (other
names/paths can specified via -c or --config). For more
details see our documentation:
https://gnikit.github.io/fortls/options.html#available-options