fix: improve ignored_paths YAML guidance#1575
Open
zerone0x wants to merge 1 commit into
Open
Conversation
Fixes oraios#1561 Co-Authored-By: Claude <noreply@anthropic.com>
MischaPanch
requested changes
Jun 25, 2026
| (which, by default, is ignored by git). | ||
| Any keys defined therein will override the respective key in `project.yml`. | ||
|
|
||
| For large C# / Roslyn repositories, `ignored_paths` is often the easiest way to keep nested examples, |
Member
There was a problem hiding this comment.
This is too specific for this top-level doc. Instead, we could add an entry notes_on_ignore_settings to 03-special guides and link to it here, mentioning that it's particularly relevant for certain language servers or in certain situations. Does the C# LS not respect .gitignore?
ee32c5e to
ebe7646
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1561.
This makes unquoted
*-prefixedignored_pathsglobs fail with a clear hint instead of a raw YAML alias error, and adds quoted examples to the project/global config docs and templates.Tested with:
uv run --extra dev ruff format --check src/serena/util/yaml.py test/serena/config/test_serena_config.pyuv run --extra dev ruff check src/serena/util/yaml.py test/serena/config/test_serena_config.pyuv run --extra dev pytest test/serena/config/test_serena_config.py -vvuv run --with codespell codespell docs/02-usage/040_workflow.md src/serena/resources/project.template.yml src/serena/resources/serena_config.template.yml