FORTLS(1)
π FORTLS β bestie edition
okay so this is fortls, the Fortran Language Server for the Language Server Protocol, and it lives in section 1 of the manual (User Commands, iykyk). it's giving "your editor but it actually understands Fortran" and honestly? we're obsessed. π¦
β¨ NAME β¨
fortls β Fortran Language Server for the Language Server Protocol π
π DESCRIPTION π
the vibe:
usage: fortls [options] [debug options]
fortls β Fortran Language Server β¨ that's it, that's the whole thing. it's a language server. it speaks Fortran. it's iconic. π
πΈ options: πΈ
-h,--helpβ shows this help message and dips out. short and sweet, we love a queen who knows when to leave π«Ά-v,--versionβ prints the server version number and exits. no notes π-c,--config CONFIGβ the configuration options file. default file name is.fortlsrc, and the other default supported names are.fortls.jsonand.fortls(and if you wanna get fancy with other names/paths, that's what-c/--configare for) π-n,--nthreads INTEGERβ how many threads to use while the workspace is initializing. default is4. yes bestie, parallelize her π--notify_initβ sends a notification message when workspace initialization is complete. like a little "i'm done!! β¨" text--incremental_syncβ uses incremental document synchronization. it's beta, so act accordingly π--recursion_limit INTEGERβ sets the maximum recursion depth for the parser. default is1000. we're going deep, no cap π--sort_keywordsβ displays variable keywords information, function/subroutine definitions, etc. in a consistent (sorted) manner. default: no sorting, display code as is. pick your fighter β¨--disable_autoupdateβfortlsautomatically checks PyPi for newer versions and installs them. use this option to disable the autoupdate feature. (yes, it really does that unprompted. main character energy fr) π--preserve_keyword_orderβ DEPRECATED, this is now the default. to sort, usesort_keywords. she's retired but we still respect her π--debug_logβ generates a debug log in the project root folder π--debug_helpβ displays options for debuggingfortlsπ
π¦ Sources file parsing options: π¦
--source_dirs [DIRS ...]β folders containing source files. default:set(). empty set, empty heart π₯²--incl_suffixes [SUFFIXES ...]β consider additional file extensions on top of the defaults. default:.F,.F77,.F90,.F95,.F03,.F08,.FOR,.FPP(lower & upper casing, she's bilingual π )--excl_suffixes [SUFFIXES ...]β source file extensions to be excluded. default:set()β--excl_paths [DIRS ...]β folders to exclude from parsing. not today, thank you π
π Autocomplete options: π
--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. names only, we're being mysterious β¨--lowercase_intrinsicsβ use lowercase for intrinsics and keywords in autocomplete requests--use_signature_helpβ use signature help instead of subroutine/function snippets. this effectively sets--autocomplete_no_snippetsπ«Ά
π Hover options: π
--variable_hoverβ DEPRECATED: this option is always on. shows hover information for variables. she's permanently on, bestie, no toggle π--hover_signatureβ shows signature information in hover for arguments β¨--hover_language HOVER_LANGUAGEβ the language used for responses to hover requests, a VSCode language id. default:fortran90π
π Diagnostic options (error swigles): π
(yes the original says "swigles", we're keeping it, it's iconic)
--max_line_length INTEGERβ maximum line length. default:-1π--max_comment_line_length INTEGERβ maximum comment line length. default:-1π¬--disable_diagnosticsβ disables diagnostics. ignorance is bliss, lowkey π«
π§ Preprocessor options: π§
--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 extensionsPP_SUFFIXES--pp_defs JSONβ a dictionary with additional preprocessor definitions. preprocessor definitions are normally included viaINCLUDE_DIRSβ¨
π Symbols options: π
--symbol_skip_memβ do not include type members in document symbol results. keep the members to yourself, mysterious queen π
π CodeActions options [limited]: π
--enable_code_actionsβ enable experimental code actions. default:false. experimental, so proceed with caution bestie π
all options starting with--can also be set in a configuration file, by default named.fortlsrc,.fortls.jsonor.fortls(other names/paths can be specified via-cor--config). for more details see our documentation:https://fortls.fortran-lang.org/options.html#available-options
πΈ okay that's the whole page, you ate that. this is fortls 3.2.2+dfsg, from March 2025, and yeah, the manual page is literally called FORTLS(1). go forth and hover, bestie πβ¨π¦
π¦ where this page comes from
- debian trixie: fortran-language-server 3.2.2+dfsg-1 Β· MIT
- ubuntu questing: fortran-language-server 3.2.2+dfsg-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms