Commit 41cdb70
Ver 0.4.1 (#176)
* chore: use .NET10 only (#165)
* chore: update projects to use only .NET 10.0
* chore: update devcontainer to use only .NET 10.0
(cherry picked from commit 19c02fd)
* Update GitHub repository link in README
(cherry picked from commit 27bc288)
* Fix badge links in README.md
(cherry picked from commit b0b98e4)
* Add Linqraft Playground web application (#166)
* Initial plan
* feat: add Linqraft Playground web application
- Create Blazor WebAssembly project for interactive Linqraft demo
- Add Monaco Editor for C# syntax highlighting
- Implement template selection sidebar with sample code
- Add file navigation pane
- Create query expression preview pane (readonly)
- Create DTO class preview pane (readonly)
- Add resizable pane layout
- Include 4 sample templates from examples
- Add GitHub Pages deployment workflow
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* refactor: address review feedback
- Remove GitHub Actions workflow (to be prepared separately)
- Replace Bootstrap with Tailwind CSS custom utilities
- Break Home.razor into Sidebar, EditorPane, PreviewPane components
- Add JetBrains Mono font for Monaco editor
- Add .monaco-editor-container height fix
- Update code generation to be per template unit
- Update TemplateService with clearer documentation
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* feat: integrate Roslyn and add collapse buttons
- Integrate Linqraft.Core with Roslyn for actual code generation
- Add collapse buttons to preview panes (▲/▼)
- Use Visual Studio theme for preview panes
- Remove HttpClient from services
- Use custom Tailwind CSS utilities (build-time generated CSS)
- Handle WebAssembly environment for metadata references
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* fix: code generation now works with proper Roslyn compilation
- Add using directives and SelectExpr stub to templates for Roslyn analysis
- Default to file containing SelectExpr when template is selected
- Use dark theme for all editor panes
- Make collapse buttons less conspicuous
- Add IsHidden property to ProjectFile for internal stub files
- Use Basic.Reference.Assemblies.Net90 for Roslyn compilation
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* feat: add debounce, settings dialog, and fix collapse behavior
- Add 300ms debounce for code generation after input stops
- Add settings dialog for LinqraftConfiguration with all options
- Set CommentOutput to None by default
- Fix collapse button behavior to preserve generated content
- Remove hardcoded file names from query conditions
- Add Settings button to sidebar
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* fix: address code review feedback
- Fix CommentOutput default value fallback to None (0)
- Extract debounce delay to named constant DebounceDelayMs
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* fix: properly parse multiple source files for code generation
- Parse each file into its own syntax tree for correct Roslyn compilation
- This fixes type resolution issues where all types became 'object'
- Add bracket pair colorization to Monaco editors
- DTO classes now show correct types (int, DateTime, string, List<T>, etc.)
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* fix: cache semantic models to avoid redundant GetSemanticModel calls
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* some fixes
* space fix
* feat: add home page and improve UX
- Rename Home.razor to Playground.razor at /playground route
- Create new Home.razor at / with intro to Linqraft and Playground link
- Move settings into sidebar as collapsible section like Templates/Files
- Make preview pane headers fully clickable to toggle collapse
- Remove resize cursor from dividers (visual only)
- Delete SettingsDialog.razor (no longer needed)
- Update navigation in MainLayout
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* template update
* small fix
* use Tailwind.Hosting
* feat: add semantic syntax highlighting with Roslyn
- Create SemanticHighlightingService using Roslyn to extract tokens
- Add JavaScript for applying Monaco decorations via JSInterop
- Apply CSS styling matching Visual Studio dark theme colors
- Highlight class names (cyan), methods (yellow), properties (light blue)
- Apply highlighting to both editor and preview panes
- Debounce highlighting updates to 200ms
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* fix: address code review feedback
- Fix array bounds check in getClassName JS function
- Replace System.Timers.Timer with CancellationTokenSource for debouncing
- Extract magic number 100ms to InitialHighlightDelayMs constant
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* feat: improve semantic highlighting for generics and keywords
- Add highlighting for generic type arguments (e.g., Order in List<Order>)
- Add highlighting for contextual keywords (required, init)
- Add record declaration highlighting
- Handle nullable types and array types in generics
- Add CSS style for keyword highlighting
- Fixed ProcessNode to process TypeArgumentListSyntax
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* feat: share CSharpCompilation between code generation and semantic highlighting
- Create SharedCompilationService for consistent compilation across services
- Include SelectExpr extension methods source (from ConstSourceCodes) for Roslyn recognition
- Add generated code to compilation for accurate highlighting
- Update CodeGenerationService to use shared compilation
- Update SemanticHighlightingService to use shared compilation
- Add IsExpressionPane parameter to PreviewPane for correct highlighting context
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* superfix
* format
* feat: add TargetFramework to Linqraft.MinimumSample project
* test sdk deps update
* path changed
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
Co-authored-by: Arika Ishinami <delete0093@gmail.com>
(cherry picked from commit 663c4ce)
* chore: apply formatting
(cherry picked from commit 8e104be)
* wip
(cherry picked from commit 1a4a276)
* wip
(cherry picked from commit 32c9e82)
* Add LinqraftNestedDtoNamespace option for namespace-based child DTO naming (#168)
* Initial plan
* Add LinqraftNestedDtoNamespace configuration option
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* option name renamed
* testcase merged
* option name changed and use new generate logic in playground
* Remove hash suffix from generated nested DTO class names and add configuration option
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
Co-authored-by: Arika Ishinami <delete0093@gmail.com>
(cherry picked from commit a6395aa)
* chore: apply formatting
(cherry picked from commit d11684c)
* style: enhance typography and spacing across components
(cherry picked from commit 7db5008)
* Refactor Playground Home page with component separation, Prism.js syntax highlighting, and vertical layout (#169)
* Initial plan
* Improve Playground Home page with rotating features, sticky tabs, code comparison, syntax highlighting, and NuGet icon
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* Fix code review issues: accessibility, HttpClient usage, and error handling
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* Fix extra closing brackets and use HttpRequestMessage for thread-safe API calls
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* Improve timer handling with CancellationToken and proper disposal
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* fix
* fix
* Refactor Home page into separate components with Prism.js syntax highlighting and lazy loading
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* Fix Playground page by restoring service registration
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* Fix code review issues: clarify auto-generated DTOs and fix Prism.js bugs
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* Improve Prism.js regex handling for global flag
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* wip
* small fix
* style updated
* wip
* Update Key Features section: replace "Production-Ready Performance" with "Escape Anytime" and revise description for clarity
* smallfix
* Add GitHub Actions workflow for deploying to GitHub Pages and update project dependencies
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
Co-authored-by: Arika Ishinami <delete0093@gmail.com>
(cherry picked from commit f904a31)
* chore: apply formatting
(cherry picked from commit bf330e2)
* some fixed
(cherry picked from commit a7a8ce6)
* update
(cherry picked from commit eb09770)
* fix: downgrade .NET version to 9.0 in playground
because PublishSPAforGitHubPages.Build is not support .NET 10 yet (maybe...)
(cherry picked from commit 498dfe9)
* Revert "fix: downgrade .NET version to 9.0 in playground"
This reverts commit 498dfe9.
(cherry picked from commit 42609f6)
* fix: update links to use relative paths in FaqSection, HeroSection, and MainLayout
(cherry picked from commit 7724e05)
* add bg to hero section
(cherry picked from commit 9caadf1)
* website visual update
(cherry picked from commit baa4b38)
* style updated
(cherry picked from commit 24b1c0d)
* refactor: improve layout and styling in HeroSection, EditorPane, Sidebar, and Playground components; update package references
(cherry picked from commit 9e459a5)
* fix
(cherry picked from commit 211f7b5)
* feat: implement C# syntax highlighting and update layout styles across components
(cherry picked from commit 68784a0)
* fix: update property names in order DTO generation for clarity
(cherry picked from commit 86f4fcc)
* fix: update Tailwind CDN usage to conditional rendering based on build configuration
(cherry picked from commit 60c337f)
* feat: enhance C# syntax highlighting to include property and field declarations
(cherry picked from commit 6155e8f)
* feat: update KeyFeaturesSection layout and styles for improved readability and consistency
(cherry picked from commit 1b5c17d)
* feat: enhance C# syntax highlighting to differentiate between type and property declarations
(cherry picked from commit b10a002)
* feat: implement collapsible editor pane and sidebar for improved UI/UX
(cherry picked from commit 61b249e)
* feat: add links to web page and online playground in README; improve layout in EditorPane and PreviewPane
(cherry picked from commit 115ec4a)
* feat: simplify Playground layout by removing unused CSS classes and improving responsiveness
(cherry picked from commit ebe2a02)
* feat: Add Min Repro template and URL sharing for issue reporting (#174)
* Initial plan
* Initial plan for issue reporting template
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* feat: Add Min Repro template and URL sharing for issue reporting
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* feat: Enhance Min Repro template with additional sample classes for better issue reproduction
* feat: Refactor UrlStateService to streamline navigation manager usage and improve code readability
* feat: Update Sidebar buttons and styles for improved UI consistency
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
Co-authored-by: Arika Ishinami <delete0093@gmail.com>
(cherry picked from commit a57f41a)
* Fix documentation comment extraction for nested properties and Select expressions (#175)
close #172
* Initial plan
* Fix documentation extraction for nested properties and Select expressions
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* Improve documentation comments in DtoProperty.cs
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
(cherry picked from commit cd4a277)
* chore: apply formatting
(cherry picked from commit a942995)
* feat: update Sidebar UI and enhance Tailwind CSS styles for improved aesthetics
(cherry picked from commit fe339ca)
* Integrate LQRS004 ternary null check transformation into LQRS002/LQRS003 (#171)
* Initial plan
* Initial plan for integrating LQRS004 into LQRS002/LQRS003
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* Integrate LQRS004 transformation into LQRS002/LQRS003 code fixes
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* Add support for inverted null check conditions in ternary simplification
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* Update LQRS003 options: remove RootOnly, add Struct option
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* Fix terminology: update 'struct' to 'strict' in LQRS003 documentation and related code fix provider
* Re-enable LQRS004 and remove ternary simplification from Predefined option
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
* Update LQRS004 documentation to reflect relationship with LQRS002/LQRS003
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
Co-authored-by: Arika Ishinami <delete0093@gmail.com>
(cherry picked from commit f551f00)
* chore: apply formatting
(cherry picked from commit da9aa16)
* fix: update PackageProjectUrl to point to the correct GitHub Pages URL
(cherry picked from commit 360e750)
* refactor: rename DTO classes for clarity and improve null handling in queries
(cherry picked from commit 5336f54)
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>1 parent 5e6b741 commit 41cdb70
File tree
85 files changed
+7178
-321
lines changed- .devcontainer
- .github/workflows
- docs
- analyzers
- examples
- Linqraft.ApiSample
- Linqraft.Benchmark
- Linqraft.MinimumSample.OldVersion
- Linqraft.MinimumSample
- Linqraft.Sample
- playground
- Components
- Home
- Playground
- Layout
- Models
- Pages
- Properties
- Services
- wwwroot
- css
- js
- src
- Linqraft.Analyzer
- Linqraft.Core
- RoslynHelpers
- SyntaxHelpers
- Linqraft.SourceGenerator
- Linqraft
- tests
- Linqraft.Analyzer.Tests
- Linqraft.Tests.Configuration
- Linqraft.Tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
85 files changed
+7178
-321
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
85 | | - | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
103 | | - | |
| 105 | + | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| |||
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
121 | | - | |
| 123 | + | |
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| |||
496 | 498 | | |
497 | 499 | | |
498 | 500 | | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
499 | 548 | | |
500 | 549 | | |
501 | 550 | | |
| |||
607 | 656 | | |
608 | 657 | | |
609 | 658 | | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
610 | 662 | | |
611 | 663 | | |
612 | 664 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
21 | 29 | | |
22 | 30 | | |
23 | | - | |
| 31 | + | |
24 | 32 | | |
25 | | - | |
26 | | - | |
| 33 | + | |
| 34 | + | |
27 | 35 | | |
28 | 36 | | |
29 | 37 | | |
| |||
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
46 | | - | |
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
50 | 57 | | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
54 | | - | |
| 61 | + | |
55 | 62 | | |
56 | | - | |
57 | | - | |
| 63 | + | |
| 64 | + | |
58 | 65 | | |
59 | 66 | | |
60 | 67 | | |
61 | | - | |
| 68 | + | |
62 | 69 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
68 | 81 | | |
69 | | - | |
70 | | - | |
| 82 | + | |
| 83 | + | |
71 | 84 | | |
72 | 85 | | |
73 | 86 | | |
74 | | - | |
75 | 87 | | |
76 | 88 | | |
77 | 89 | | |
78 | 90 | | |
79 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
80 | 98 | | |
81 | 99 | | |
82 | 100 | | |
| |||
89 | 107 | | |
90 | 108 | | |
91 | 109 | | |
| 110 | + | |
92 | 111 | | |
93 | 112 | | |
94 | | - | |
95 | 113 | | |
96 | 114 | | |
97 | 115 | | |
98 | | - | |
| 116 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
25 | 40 | | |
26 | 41 | | |
27 | 42 | | |
| |||
52 | 67 | | |
53 | 68 | | |
54 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
0 commit comments