table of contents
| FORTLS(1) | User Commands | FORTLS(1) | 
NAME¶
fortls - Fortran Language Server for the Language Server Protocol
DESCRIPTION¶
usage: fortls [-h] [--version] [--nthreads NTHREADS] [--notify_init]
- [--symbol_skip_mem] [--incremental_sync] [--autocomplete_no_prefix] [--autocomplete_no_snippets] [--autocomplete_name_only] [--lowercase_intrinsics] [--use_signature_help] [--variable_hover] [--hover_signature] [--hover_language HOVER_LANGUAGE] [--preserve_keyword_order] [--enable_code_actions] [--max_line_length MAX_LINE_LENGTH] [--max_comment_line_length MAX_COMMENT_LINE_LENGTH] [--disable_diagnostics] [--debug_log] [--debug_parser] [--debug_diagnostics] [--debug_symbols] [--debug_workspace_symbols DEBUG_WORKSPACE_SYMBOLS] [--debug_completion] [--debug_signature] [--debug_definition] [--debug_hover] [--debug_implementation] [--debug_references] [--debug_rename DEBUG_RENAME] [--debug_actions] [--debug_filepath DEBUG_FILEPATH] [--debug_rootpath DEBUG_ROOTPATH] [--debug_line DEBUG_LINE] [--debug_char DEBUG_CHAR] [--debug_full_result]
 
FORTRAN Language Server (1.12.0)
optional arguments:¶
- -h, --help
 - show this help message and exit
 - --version
 - Print server version number and exit
 - --nthreads NTHREADS
 - Number of threads to use during workspace initialization (default: 4)
 - --notify_init
 - Send notification message when workspace initialization is complete
 - --symbol_skip_mem
 - Do not include type members in document symbol results
 - --incremental_sync, --incrmental_sync
 - Use incremental document synchronization (beta)
 - --autocomplete_no_prefix
 - Do not filter autocomplete results by variable prefix
 - --autocomplete_no_snippets
 - Do not use snippets with place holders in autocomplete results
 - --autocomplete_name_only
 - Complete only the name of procedures and not the parameters
 - --lowercase_intrinsics
 - Use lowercase for intrinsics and keywords in autocomplete requests
 - --use_signature_help
 - Use signature help instead of subroutine/function snippets
 - --variable_hover
 - Show hover information for variables (default: subroutines/functions only)
 - --hover_signature
 - Show signature information in hover for argument (also enables '--variable_hover')
 - --hover_language HOVER_LANGUAGE
 - Language used for responses to hover requests (for editor syntax highlighting)
 - --preserve_keyword_order
 - Display variable keywords information in original order (default: sort to consistent ordering)
 - --enable_code_actions
 - Enable experimental code actions (default: false)
 - --max_line_length MAX_LINE_LENGTH
 - Maximum line length (default: none)
 - --max_comment_line_length MAX_COMMENT_LINE_LENGTH
 - Maximum comment line length (default: none)
 - --disable_diagnostics
 - Disable diagnostics
 - --debug_log
 - Generate debug log in project root folder
 
DEBUG:¶
- Options for debugging language server
 
- --debug_parser
 - Test source code parser on specified file
 - --debug_diagnostics
 - Test diagnostic notifications for specified file
 - --debug_symbols
 - Test symbol request for specified file
 - --debug_workspace_symbols DEBUG_WORKSPACE_SYMBOLS
 - Test workspace/symbol request
 - --debug_completion
 - Test completion request for specified file and position
 - --debug_signature
 - Test signatureHelp request for specified file and position
 - --debug_definition
 - Test definition request for specified file and position
 - --debug_hover
 - Test hover request for specified file and position
 - --debug_implementation
 - Test implementation request for specified file and position
 - --debug_references
 - Test references request for specified file and position
 - --debug_rename DEBUG_RENAME
 - Test rename request for specified file and position
 - --debug_actions
 - Test codeAction request for specified file and position
 - --debug_filepath DEBUG_FILEPATH
 - File path for language server tests
 - --debug_rootpath DEBUG_ROOTPATH
 - Root path for language server tests
 - --debug_line DEBUG_LINE
 - Line position for language server tests (1-indexed)
 - --debug_char DEBUG_CHAR
 - Character position for language server tests (1-indexed)
 - --debug_full_result
 - Print full result object instead of condensed version
 
| October 2020 | fortls 1.12.0 |