Forge
csharp551a3611
1#nullable enable
2
3namespace RoslynMcp.ServiceLayer.WorkspaceNavigation;
4
5/// <summary>
6/// Те же id и семантика, что у встроенных пресетов Cascade IDE (<c>WorkspaceNavigation/presets.toml</c>), в виде JSON для <see cref="WorkspaceNavigationPresetMerge"/>.
7/// В roslyn-mcp нет чтения файлов настроек — только этот встроенный набор.
8/// </summary>
9internal static class BundledWorkspaceNavigationPresets
10{
11 /// <summary>JSON-объект: preset id → { include_kinds?, exclude_kinds? }.</summary>
12 internal const string Json = """
13{
14 "peers_only": { "include_kinds": ["partial_peer", "project_peer"] },
15 "no_namespace_noise": { "exclude_kinds": ["same_namespace", "same_directory"] },
16 "tests_and_peers": { "include_kinds": ["partial_peer", "project_peer", "test_counterpart"] },
17 "structure_only": { "include_kinds": ["partial_peer", "project_peer", "xaml_codebehind_pair", "same_directory"] }
18}
19""";
20}
21
View only · write via MCP/CIDE