1+
2+
13# list of languages for which language servers are started; choose from:
2- # al bash clojure cpp csharp csharp_omnisharp
3- # dart elixir elm erlang fortran go
4- # haskell java julia kotlin lua markdown
5- # nix perl php python python_jedi r
6- # rego ruby ruby_solargraph rust scala swift
7- # terraform typescript typescript_vts zig
4+ # al bash clojure cpp csharp
5+ # csharp_omnisharp dart elixir elm erlang
6+ # fortran fsharp go groovy haskell
7+ # java julia kotlin lua markdown
8+ # matlab nix pascal perl php
9+ # php_phpactor powershell python python_jedi r
10+ # rego ruby ruby_solargraph rust scala
11+ # swift terraform toml typescript typescript_vts
12+ # vue yaml zig
13+ # (This list may be outdated. For the current list, see values of Language enum here:
14+ # https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py
15+ # For some languages, there are alternative language servers, e.g. csharp_omnisharp, ruby_solargraph.)
816# Note:
917# - For C, use cpp
1018# - For JavaScript, use typescript
11- # Language Server Details (Serena AUTO-DOWNLOADS these on first startup):
12- # - csharp: Uses Microsoft.CodeAnalysis.LanguageServer (Roslyn) - same engine as VS Code's C# extension
13- # Downloads from Azure NuGet feed; also downloads .NET 9 runtime if needed
14- # ⚠️ KNOWN ISSUE: Fails on T-Mobile Home Internet due to IPv6 routing issues to Azure blob storage
15- # - csharp_omnisharp: Uses OmniSharp (alternative) - also auto-downloads
16- # - cpp: Uses clangd (auto-downloads v19.1.2 on Windows/Mac; Linux needs `apt install clangd`)
19+ # - For Free Pascal/Lazarus, use pascal
1720# Special requirements:
18- # - csharp: Requires the presence of a .sln file in the project folder.
21+ # Some languages require additional setup/installations.
22+ # See here for details: https://oraios.github.io/serena/01-about/020_programming-languages.html#language-servers
1923# When using multiple languages, the first language server that supports a given file will be used for that file.
2024# The first language is the default language and the respective language server will be used as a fallback.
2125# Note that when using the JetBrains backend, language servers are not used and this list is correspondingly ignored.
22- #
23- # T-Mobile IPv6 workaround: Use csharp_omnisharp instead of csharp if you see Azure NuGet download errors.
24- # The issue is that Python urllib prefers IPv6, and T-Mobile's IPv6 routing to Azure blob storage is broken.
2526languages :
2627- csharp_omnisharp
2728- cpp
@@ -30,14 +31,12 @@ languages:
3031# For a list of possible encodings, see https://docs.python.org/3.11/library/codecs.html#standard-encodings
3132encoding : " utf-8"
3233
33- # whether to use the project's gitignore file to ignore files
34- # Added on 2025-04-07
34+ # whether to use project's .gitignore files to ignore files
3535ignore_all_files_in_gitignore : true
3636
37- # list of additional paths to ignore
38- # same syntax as gitignore, so you can use * and **
39- # Was previously called `ignored_dirs`, please update your config if you are using that.
40- # Added (renamed) on 2025-04-07
37+ # list of additional paths to ignore in this project.
38+ # Same syntax as gitignore, so you can use * and **.
39+ # Note: global ignored_paths from serena_config.yml are also applied additively.
4140ignored_paths :
4241- Output/**
4342- Obj/**
@@ -52,7 +51,20 @@ ignored_paths:
5251# Added on 2025-04-18
5352read_only : false
5453
55- # list of tool names to exclude. We recommend not excluding any tools, see the readme for more details.
54+ # initial prompt for the project. It will always be given to the LLM upon activating the project
55+ # (contrary to the memories, which are loaded on demand).
56+ initial_prompt : |
57+ FieldWorks (FLEx) is a Windows/x64 linguistics suite by SIL International.
58+ Key repo facts:
59+ - Build with .\build.ps1; test with .\test.ps1.
60+ - FieldWorks.proj and FieldWorks.sln are the main build and solution entry points.
61+ - The codebase mixes native C++ and managed .NET; native builds must succeed before managed projects.
62+ - FieldWorks uses registration-free COM; do not add global COM registration hacks.
63+ - Keep localization in .resx and follow .github/instructions/*.instructions.md plus nearby AGENTS.md files.
64+
65+ # list of tool names to exclude.
66+ # This extends the existing exclusions (e.g. from the global configuration)
67+ #
5668# Below is the complete list of tools for convenience.
5769# To make sure you have the latest list of tools, and to view their descriptions,
5870# execute `uv run scripts/print_tool_overview.py`.
@@ -86,20 +98,15 @@ read_only: false
8698# * `restart_language_server`: Restarts the language server, may be necessary when edits not through Serena happen.
8799# * `search_for_pattern`: Performs a search for a pattern in the project.
88100# * `summarize_changes`: Provides instructions for summarizing the changes made to the codebase.
89- # initial prompt for the project. It will always be given to the LLM upon activating the project
90- # (contrary to the memories, which are loaded on demand).
91- initial_prompt : |
92- FieldWorks (FLEx) is a Windows-first linguistics suite by SIL International.
93- Key build facts:
94- - Uses MSBuild Traversal SDK via FieldWorks.proj (21 ordered phases, 110+ projects)
95- - Native C++ (Phase 2) must build before managed code (Phases 3+)
96- - Build command: .\build.ps1 or msbuild FieldWorks.proj /p:Configuration=Debug /p:Platform=x64 /m
97- - Check .github/instructions/*.instructions.md for coding guidelines (managed, native, testing, etc.)
98- - Per-folder AGENTS.md files describe component contracts and dependencies
99- # project_name: Intentionally left out so that the folder name will be used and worktrees will not conflict
101+ # * `switch_modes`: Activates modes by providing a list of their names
102+ # * `think_about_collected_information`: Thinking tool for pondering the completeness of collected information.
103+ # * `think_about_task_adherence`: Thinking tool for determining whether the agent is still on track with the current task.
104+ # * `think_about_whether_you_are_done`: Thinking tool for determining whether the task is truly completed.
105+ # * `write_memory`: Writes a named memory (for future reference) to Serena's project-specific memory store.
100106excluded_tools : []
101107
102- # list of tools to include that would otherwise be disabled (particularly optional tools that are disabled by default)
108+ # list of tools to include that would otherwise be disabled (particularly optional tools that are disabled by default).
109+ # This extends the existing inclusions (e.g. from the global configuration).
103110included_optional_tools : []
104111
105112# list of mode names to that are always to be included in the set of active modes
@@ -120,9 +127,10 @@ default_modes:
120127# fixed set of tools to use as the base tool set (if non-empty), replacing Serena's default set of tools.
121128# This cannot be combined with non-empty excluded_tools or included_optional_tools.
122129fixed_tools : []
123- # the name by which the project can be referenced within Serena
124- project_name : FieldWorks
125130
131+ # project_name is intentionally omitted in shared config so Serena falls back to the
132+ # worktree folder name and multiple FieldWorks worktrees stay distinct.
133+ # If you need an explicit local override, put it in .serena/project.local.yml.
126134
127135# time budget (seconds) per tool call for the retrieval of additional symbol information
128136# such as docstrings or parameter information.
@@ -136,3 +144,26 @@ symbol_info_budget:
136144# Note: the backend is fixed at startup. If a project with a different backend
137145# is activated post-init, an error will be returned.
138146language_backend :
147+
148+ # line ending convention to use when writing source files.
149+ # Possible values: unset (use global setting), "lf", "crlf", or "native" (platform default)
150+ # This does not affect Serena's own files (e.g. memories and configuration files), which always use native line endings.
151+ line_ending :
152+
153+ # list of regex patterns which, when matched, mark a memory entry as read-only.
154+ # Extends the list from the global configuration, merging the two lists.
155+ read_only_memory_patterns : []
156+
157+ # list of regex patterns for memories to completely ignore.
158+ # Matching memories will not appear in list_memories or activate_project output
159+ # and cannot be accessed via read_memory or write_memory.
160+ # To access ignored memory files, use the read_file tool on the raw file path.
161+ # Extends the list from the global configuration, merging the two lists.
162+ # Example: ["_archive/.*", "_episodes/.*"]
163+ ignored_memory_patterns : []
164+
165+ # advanced configuration option allowing to configure language server-specific options.
166+ # Maps the language key to the options.
167+ # 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.
168+ # No documentation on options means no options are available.
169+ ls_specific_settings : {}
0 commit comments