|
1 | | -# the name by which the project can be referenced within Serena |
| 1 | +# the name by which the project can be referenced within Serena/when chatting with the LLM. |
2 | 2 | project_name: "Nexterm" |
3 | 3 |
|
4 | | - |
5 | | -# list of languages for which language servers are started; choose from: |
6 | | -# al angular ansible bash clojure |
7 | | -# cpp cpp_ccls crystal csharp csharp_omnisharp |
8 | | -# dart elixir elm erlang fortran |
9 | | -# fsharp go groovy haskell haxe |
10 | | -# hlsl html java json julia |
11 | | -# kotlin lean4 lua luau markdown |
| 4 | +# list of languages for which language servers are started (LSP backend only); choose from: |
| 5 | +# ada al angular ansible bash |
| 6 | +# bsl clojure cpp cpp_ccls crystal |
| 7 | +# csharp csharp_omnisharp cue dart elixir |
| 8 | +# elm erlang fortran fsharp gdscript |
| 9 | +# go groovy haskell haxe hlsl |
| 10 | +# html java json julia kotlin |
| 11 | +# latex lean4 lua luau markdown |
12 | 12 | # matlab msl nix ocaml pascal |
13 | | -# perl php php_phpactor powershell python |
14 | | -# python_jedi python_ty r rego ruby |
15 | | -# ruby_solargraph rust scala scss solidity |
16 | | -# svelte swift systemverilog terraform toml |
17 | | -# typescript typescript_vts vue yaml zig |
18 | | -# (This list may be outdated. For the current list, see values of Language enum here: |
19 | | -# https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py |
20 | | -# For some languages, there are alternative language servers, e.g. csharp_omnisharp, ruby_solargraph.) |
| 13 | +# perl php php_phpactor php_phpantom powershell |
| 14 | +# python python_jedi python_pyrefly python_ty r |
| 15 | +# rego ruby ruby_solargraph rust scala |
| 16 | +# scss solidity svelte swift systemverilog |
| 17 | +# terraform toml typescript typescript_vts vue |
| 18 | +# yaml zig |
| 19 | +# (This list may be outdated; generated with scripts/print_language_list.py; |
| 20 | +# For the current list, see values of Language enum here: |
| 21 | +# https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py) |
| 22 | +# For some languages, there are alternative language servers, e.g. csharp_omnisharp, ruby_solargraph.) |
21 | 23 | # Note: |
22 | 24 | # - For C, use cpp |
23 | 25 | # - For JavaScript, use typescript |
@@ -55,21 +57,10 @@ ignore_all_files_in_gitignore: true |
55 | 57 |
|
56 | 58 | # advanced configuration option allowing to configure language server-specific options. |
57 | 59 | # Maps the language key to the options. |
58 | | -# Have a look at the docstring of the constructors of the LS implementations within solidlsp (e.g., for C# or PHP) to see which options are available. |
59 | | -# No documentation on options means no options are available. |
| 60 | +# The settings are considered only if the project is trusted (see global configuration to define trusted projects). |
| 61 | +# See https://oraios.github.io/serena/02-usage/050_configuration.html#language-server-specific-settings |
60 | 62 | ls_specific_settings: {} |
61 | 63 |
|
62 | | -# list of additional workspace folder paths for cross-package reference support (e.g. in monorepos). |
63 | | -# Paths can be absolute or relative to the project root. |
64 | | -# Each folder is registered as an LSP workspace folder, enabling language servers to discover |
65 | | -# symbols and references across package boundaries. |
66 | | -# Currently supported for: TypeScript. |
67 | | -# Example: |
68 | | -# additional_workspace_folders: |
69 | | -# - ../sibling-package |
70 | | -# - ../shared-lib |
71 | | -additional_workspace_folders: [] |
72 | | - |
73 | 64 | # list of additional paths to ignore in this project. |
74 | 65 | # Same syntax as gitignore, so you can use * and **. |
75 | 66 | # Note: global ignored_paths from serena_config.yml are also applied additively. |
@@ -131,3 +122,39 @@ read_only_memory_patterns: [] |
131 | 122 | # Extends the list from the global configuration, merging the two lists. |
132 | 123 | # Example: ["_archive/.*", "_episodes/.*"] |
133 | 124 | ignored_memory_patterns: [] |
| 125 | + |
| 126 | +# optional shell command to run before the language backend (LSP or JetBrains) is initialised. |
| 127 | +# the command runs in the project root directory and is only executed if the project is trusted |
| 128 | +# (see trusted_project_path_patterns in the global configuration). |
| 129 | +# serena waits for the command to exit: a non-zero exit code is logged as an error but does not |
| 130 | +# abort activation. a per-project timeout (activation_command_timeout, default 180s) is the safety |
| 131 | +# backstop for non-terminating commands; on expiry the process is killed and activation continues. |
| 132 | +# example: activation_command: "npx nx run-many -t build" |
| 133 | +activation_command: |
| 134 | + |
| 135 | +# maximum time in seconds to wait for activation_command to complete before killing it (default 180s). |
| 136 | +# must be a positive number. |
| 137 | +activation_command_timeout: 180.0 |
| 138 | + |
| 139 | +# list of additional workspace folder paths for cross-package reference support. |
| 140 | +# Paths can be absolute or relative to the project root. |
| 141 | +# Each folder is registered as an LSP workspace folder, enabling language servers to discover |
| 142 | +# symbols and references across package boundaries, but these folders are not indexed by Serena, |
| 143 | +# i.e. the respective symbols will not be found using Serena's symbol search tools. |
| 144 | +# Example: |
| 145 | +# additional_workspace_folders: |
| 146 | +# - ../sibling-package |
| 147 | +# - ../shared-lib |
| 148 | +ls_additional_workspace_folders: [] |
| 149 | + |
| 150 | +# list of workspace folder paths (LSP backend only). |
| 151 | +# These folders will be used to build up Serena's symbol index. |
| 152 | +# Paths must be within the project root and should thus be relative to the project root. |
| 153 | +# Furthermore, the paths should not be filtered by ignore settings. |
| 154 | +# Default setting: The entire project root folder (".") is considered. |
| 155 | +# In (large) monorepos, this can be used to index only subfolders of the project root, e.g. |
| 156 | +# ls_workspace_folders: |
| 157 | +# - "./subproject1" |
| 158 | +# - "./subproject2" |
| 159 | +ls_workspace_folders: |
| 160 | +- . |
0 commit comments