.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH FORTLS "1" "October 2022" "fortls 2.13.0" "User Commands" .SH NAME fortls \- Fortran Language Server for the Language Server Protocol .SH DESCRIPTION usage: fortls [options] [debug options] .PP fortls \- Fortran Language Server .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-v\fR, \fB\-\-version\fR Print server version number and exit .TP \fB\-c\fR CONFIG, \fB\-\-config\fR CONFIG Configuration options file (default file name: .fortlsrc, other default supported names: .fortls.json, .fortls) .TP \fB\-n\fR INTEGER, \fB\-\-nthreads\fR INTEGER Number of threads to use during workspace initialization (default: 4) .TP \fB\-\-notify_init\fR Send notification message when workspace initialization is complete .TP \fB\-\-incremental_sync\fR Use incremental document synchronization (beta) .TP \fB\-\-sort_keywords\fR Display variable keywords information, function/subroutine definitions, etc. in a consistent (sorted) manner default: no sorting, display code as is) .TP \fB\-\-disable_autoupdate\fR fortls automatically checks PyPi for newer version and installs them.Use this option to disable the autoupdate feature. .TP \fB\-\-preserve_keyword_order\fR DEPRECATED, this is now the default. To sort use sort_keywords .TP \fB\-\-debug_log\fR Generate debug log in project root folder .TP \fB\-\-debug_help\fR Display options for debugging fortls .SS "Sources file parsing options:" .TP \fB\-\-source_dirs\fR [DIRS ...] Folders containing source files (default: set()) .TP \fB\-\-incl_suffixes\fR [SUFFIXES ...] Consider additional file extensions to the default (default: F,F77,F90,F95,F03,F08,FOR,FPP (lower & upper casing)) .TP \fB\-\-excl_suffixes\fR [SUFFIXES ...] Source file extensions to be excluded (default: set()) .TP \fB\-\-excl_paths\fR [DIRS ...] Folders to exclude from parsing .SS "Autocomplete options:" .TP \fB\-\-autocomplete_no_prefix\fR Do not filter autocomplete results by variable prefix .TP \fB\-\-autocomplete_no_snippets\fR Do not use snippets with place holders in autocomplete results .TP \fB\-\-autocomplete_name_only\fR Complete only the name of procedures and not the parameters .TP \fB\-\-lowercase_intrinsics\fR Use lowercase for intrinsics and keywords in autocomplete requests .TP \fB\-\-use_signature_help\fR Use signature help instead of subroutine/function snippets. This effectively sets \fB\-\-autocomplete_no_snippets\fR .SS "Hover options:" .TP \fB\-\-variable_hover\fR DEPRECATED: This option is always on. Show hover information for variables .TP \fB\-\-hover_signature\fR Show signature information in hover for arguments .TP \fB\-\-hover_language\fR HOVER_LANGUAGE Language used for responses to hover requests a VSCode language id (default: fortran90) .SS "Diagnostic options (error swigles):" .TP \fB\-\-max_line_length\fR INTEGER Maximum line length (default: \fB\-1\fR) .TP \fB\-\-max_comment_line_length\fR INTEGER Maximum comment line length (default: \fB\-1\fR) .TP \fB\-\-disable_diagnostics\fR Disable diagnostics .SS "Preprocessor options:" .TP \fB\-\-pp_suffixes\fR [SUFFIXES ...] File extensions to be parsed ONLY for preprocessor commands (default: all uppercase source file suffixes) .TP \fB\-\-include_dirs\fR [DIRS ...] Folders containing preprocessor files with extensions PP_SUFFIXES. .TP \fB\-\-pp_defs\fR PP_DEFS A dictionary with additional preprocessor definitions. Preprocessor definitions are normally included via INCLUDE_DIRS .SS "Symbols options:" .TP \fB\-\-symbol_skip_mem\fR Do not include type members in document symbol results .SS "CodeActions options [limited]:" .TP \fB\-\-enable_code_actions\fR Enable experimental code actions (default: false) .PP 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 \fB\-c\fR or \fB\-\-config\fR). For more details see our documentation: https://gnikit.github.io/fortls/options.html#available\-options