-
-
Notifications
You must be signed in to change notification settings - Fork 42
Serena project upgrade #816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,27 +1,28 @@ | ||||||
|
|
||||||
|
|
||||||
| # list of languages for which language servers are started; choose from: | ||||||
| # al bash clojure cpp csharp csharp_omnisharp | ||||||
| # dart elixir elm erlang fortran go | ||||||
| # haskell java julia kotlin lua markdown | ||||||
| # nix perl php python python_jedi r | ||||||
| # rego ruby ruby_solargraph rust scala swift | ||||||
| # terraform typescript typescript_vts zig | ||||||
| # al bash clojure cpp csharp | ||||||
| # csharp_omnisharp dart elixir elm erlang | ||||||
| # fortran fsharp go groovy haskell | ||||||
| # java julia kotlin lua markdown | ||||||
| # matlab nix pascal perl php | ||||||
| # php_phpactor powershell python python_jedi r | ||||||
| # rego ruby ruby_solargraph rust scala | ||||||
| # swift terraform toml typescript typescript_vts | ||||||
| # vue yaml zig | ||||||
| # (This list may be outdated. For the current list, see values of Language enum here: | ||||||
| # https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py | ||||||
| # For some languages, there are alternative language servers, e.g. csharp_omnisharp, ruby_solargraph.) | ||||||
| # Note: | ||||||
| # - For C, use cpp | ||||||
| # - For JavaScript, use typescript | ||||||
| # Language Server Details (Serena AUTO-DOWNLOADS these on first startup): | ||||||
| # - csharp: Uses Microsoft.CodeAnalysis.LanguageServer (Roslyn) - same engine as VS Code's C# extension | ||||||
| # Downloads from Azure NuGet feed; also downloads .NET 9 runtime if needed | ||||||
| # ⚠️ KNOWN ISSUE: Fails on T-Mobile Home Internet due to IPv6 routing issues to Azure blob storage | ||||||
| # - csharp_omnisharp: Uses OmniSharp (alternative) - also auto-downloads | ||||||
| # - cpp: Uses clangd (auto-downloads v19.1.2 on Windows/Mac; Linux needs `apt install clangd`) | ||||||
| # - For Free Pascal/Lazarus, use pascal | ||||||
| # Special requirements: | ||||||
| # - csharp: Requires the presence of a .sln file in the project folder. | ||||||
| # Some languages require additional setup/installations. | ||||||
| # See here for details: https://oraios.github.io/serena/01-about/020_programming-languages.html#language-servers | ||||||
| # When using multiple languages, the first language server that supports a given file will be used for that file. | ||||||
| # The first language is the default language and the respective language server will be used as a fallback. | ||||||
| # Note that when using the JetBrains backend, language servers are not used and this list is correspondingly ignored. | ||||||
| # | ||||||
| # T-Mobile IPv6 workaround: Use csharp_omnisharp instead of csharp if you see Azure NuGet download errors. | ||||||
| # The issue is that Python urllib prefers IPv6, and T-Mobile's IPv6 routing to Azure blob storage is broken. | ||||||
| languages: | ||||||
| - csharp_omnisharp | ||||||
| - cpp | ||||||
|
|
@@ -30,14 +31,12 @@ languages: | |||||
| # For a list of possible encodings, see https://docs.python.org/3.11/library/codecs.html#standard-encodings | ||||||
| encoding: "utf-8" | ||||||
|
|
||||||
| # whether to use the project's gitignore file to ignore files | ||||||
| # Added on 2025-04-07 | ||||||
| # whether to use project's .gitignore files to ignore files | ||||||
| ignore_all_files_in_gitignore: true | ||||||
|
|
||||||
| # list of additional paths to ignore | ||||||
| # same syntax as gitignore, so you can use * and ** | ||||||
| # Was previously called `ignored_dirs`, please update your config if you are using that. | ||||||
| # Added (renamed) on 2025-04-07 | ||||||
| # list of additional paths to ignore in this project. | ||||||
| # Same syntax as gitignore, so you can use * and **. | ||||||
| # Note: global ignored_paths from serena_config.yml are also applied additively. | ||||||
| ignored_paths: | ||||||
| - Output/** | ||||||
| - Obj/** | ||||||
|
|
@@ -52,7 +51,20 @@ ignored_paths: | |||||
| # Added on 2025-04-18 | ||||||
| read_only: false | ||||||
|
|
||||||
| # list of tool names to exclude. We recommend not excluding any tools, see the readme for more details. | ||||||
| # initial prompt for the project. It will always be given to the LLM upon activating the project | ||||||
| # (contrary to the memories, which are loaded on demand). | ||||||
| initial_prompt: | | ||||||
| FieldWorks (FLEx) is a Windows-first linguistics suite by SIL International. | ||||||
| Key build facts: | ||||||
| - Uses MSBuild Traversal SDK via FieldWorks.proj (21 ordered phases, 110+ projects) | ||||||
| - Native C++ (Phase 2) must build before managed code (Phases 3+) | ||||||
| - Build command: .\build.ps1 or msbuild FieldWorks.proj /p:Configuration=Debug /p:Platform=x64 /m | ||||||
| - Check .github/instructions/*.instructions.md for coding guidelines (managed, native, testing, etc.) | ||||||
| - Per-folder AGENTS.md files describe component contracts and dependencies | ||||||
|
|
||||||
| # list of tool names to exclude. | ||||||
| # This extends the existing exclusions (e.g. from the global configuration) | ||||||
| # | ||||||
| # Below is the complete list of tools for convenience. | ||||||
| # To make sure you have the latest list of tools, and to view their descriptions, | ||||||
| # execute `uv run scripts/print_tool_overview.py`. | ||||||
|
|
@@ -86,20 +98,15 @@ read_only: false | |||||
| # * `restart_language_server`: Restarts the language server, may be necessary when edits not through Serena happen. | ||||||
| # * `search_for_pattern`: Performs a search for a pattern in the project. | ||||||
| # * `summarize_changes`: Provides instructions for summarizing the changes made to the codebase. | ||||||
| # initial prompt for the project. It will always be given to the LLM upon activating the project | ||||||
| # (contrary to the memories, which are loaded on demand). | ||||||
| initial_prompt: | | ||||||
| FieldWorks (FLEx) is a Windows-first linguistics suite by SIL International. | ||||||
| Key build facts: | ||||||
| - Uses MSBuild Traversal SDK via FieldWorks.proj (21 ordered phases, 110+ projects) | ||||||
| - Native C++ (Phase 2) must build before managed code (Phases 3+) | ||||||
| - Build command: .\build.ps1 or msbuild FieldWorks.proj /p:Configuration=Debug /p:Platform=x64 /m | ||||||
| - Check .github/instructions/*.instructions.md for coding guidelines (managed, native, testing, etc.) | ||||||
| - Per-folder AGENTS.md files describe component contracts and dependencies | ||||||
| # project_name: Intentionally left out so that the folder name will be used and worktrees will not conflict | ||||||
| # * `switch_modes`: Activates modes by providing a list of their names | ||||||
| # * `think_about_collected_information`: Thinking tool for pondering the completeness of collected information. | ||||||
| # * `think_about_task_adherence`: Thinking tool for determining whether the agent is still on track with the current task. | ||||||
| # * `think_about_whether_you_are_done`: Thinking tool for determining whether the task is truly completed. | ||||||
| # * `write_memory`: Writes a named memory (for future reference) to Serena's project-specific memory store. | ||||||
| excluded_tools: [] | ||||||
|
|
||||||
| # list of tools to include that would otherwise be disabled (particularly optional tools that are disabled by default) | ||||||
| # list of tools to include that would otherwise be disabled (particularly optional tools that are disabled by default). | ||||||
| # This extends the existing inclusions (e.g. from the global configuration). | ||||||
| included_optional_tools: [] | ||||||
|
|
||||||
| # list of mode names to that are always to be included in the set of active modes | ||||||
|
|
@@ -123,7 +130,6 @@ fixed_tools: [] | |||||
| # the name by which the project can be referenced within Serena | ||||||
| project_name: FieldWorks | ||||||
|
Comment on lines
130
to
131
|
||||||
| # the name by which the project can be referenced within Serena | |
| project_name: FieldWorks |
Copilot
AI
Apr 7, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If Serena’s config parsing distinguishes between an omitted key (inherit global) and a present-but-null key, line_ending: with no value may not behave like “unset” and could also fail schema validation if an enum/string is expected. Prefer removing the key entirely to inherit the global setting, or set an explicit value (e.g., unset, \"lf\", \"crlf\", or \"native\") consistent with what the 1.0 parser expects.
| line_ending: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this comment go down next to
excluded_tools: [](line 106)?