Commit b1f9aa0
Restructure internal folders (#68)
* Restructure internal folder layout of CSharpCodeAnalyst project
- Rename Areas/ to Features/ and drop the "Area" suffix from subfolders
(AdvancedSearchArea → AdvancedSearch, GraphArea → Graph, etc.)
- Move scattered root-level feature folders (Ai, Analyzers, Export,
Gallery, Help, Import, Project, Refactoring) into Features/
- Consolidate infrastructure into Shared/:
- Converters/, Filter/, Wpf/ → Shared/
- Common/ split into Shared/Notifications/ and Shared/Search/
- Common/MessageBus → Shared/Messages/
- Common/Result → Shared/
- root Messages/ merged into Shared/Messages/
- Areas/Shared/ merged into Shared/UI/
- Update .csproj Page Update paths accordingly;
remove stale Areas\TableArea\Templates reference
Namespaces left unchanged intentionally — to be updated via ReSharper.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Fix namespaces
* Move QuickInfo/ContextInfoLine DTOs to Shared/
These types are pure data containers used in a cross-feature message
(QuickInfoUpdateRequest). Keeping them in Features/Help caused an
illegal Shared → Features dependency.
QuickInfoFactory remains in Features/Help as it contains genuine
feature logic (MSAGL graph objects → QuickInfo).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Replace MainViewModel cast in CodeExplorerControl with MessageBus
CodeExplorerControl (Features/Graph) was casting its DataContext to the
concrete MainViewModel to call ClearQuickInfo(), creating an illegal
Features → root dependency.
- Add ClearQuickInfoRequest message to Shared/Messages/
- CodeExplorerControl.SetViewer now accepts IPublisher and publishes
ClearQuickInfoRequest on empty-canvas mouse click
- MainViewModel subscribes to ClearQuickInfoRequest in its constructor
- Thread the IPublisher through MainWindow.SetViewer and App.xaml.cs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Break up root Constants.cs to avoid it becoming a dependency hub
- Move graph rendering constants to Features/Graph/Constants.cs (internal)
- Inline TreeMinWidth* as private constants in MainWindow
- Replace x:Static XAML bindings for TreeMinWidth* with literal values
- Delete root Constants.cs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Make TreeMinWidth constants public static on MainWindow
XAML and code-behind now reference the same fields via {x:Static},
eliminating the risk of the two values drifting apart.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Cleanup
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3d5ff34 commit b1f9aa0
File tree
158 files changed
+374
-401
lines changed- CSharpCodeAnalyst
- CommandLine
- Features
- AdvancedSearch
- Ai
- Analyzers
- ArchitecturalRules
- Presentation
- Rules
- EventRegistration
- Presentation
- CycleGroups
- Export
- Gallery
- Graph
- Filtering
- Highlighting
- RenderOptions
- Help
- Import
- Info
- Metrics
- Partitions
- Project
- Refactoring
- Tree
- CodeGraph
- Algorithms/Traversal
- Graph
- Tests/UnitTests
- ArchitecturalRules
- Graph
- Import
- Search
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
158 files changed
+374
-401
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 5 | | |
11 | | - | |
12 | 6 | | |
13 | | - | |
14 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
15 | 13 | | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
110 | | - | |
| 109 | + | |
111 | 110 | | |
112 | 111 | | |
113 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 34 | + | |
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | 6 | | |
| 7 | + | |
9 | 8 | | |
10 | 9 | | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
This file was deleted.
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments