Lakerfield.RosaCode
April 3, 2025 ยท View on GitHub
Modern code editing in WPF using Monaco and Roslyn.
Lakerfield.RosaCode is a WPF class library that integrates the Monaco Editor into your .NET applications, providing modern code editing features backed by Roslyn for intelligent C# code completions and syntax analysis.
โจ Features
- ๐ง Roslyn-powered IntelliSense: Get smart code completions, tooltips, and more.
- ๐ช Seamless WPF integration: Hosted via WebView2 for high performance and flexibility.
- ๐งฉ Two-way communication: Wire Monaco and C# logic together with minimal boilerplate.
- ๐ฏ Designed for plugins and editors: Ideal for embedding in scripting tools or IDE-like environments.
๐ Getting Started
Requirements
- .NET 8 or higher
- WPF project with WebView2
๐ ๏ธ Usage Example
//TODO
More usage examples and customization docs coming soon.
๐ฆ Project Structure
TODOโ TODO
๐งช Roadmap
- Syntax highlighting
- Code completions
- Hover tooltips
- Signature help
- Language diagnostics
- Minimal templating support
- Format document
- Show warnings as warnings instead of errors
- Support Text DependencyProperty
- Support for Mode DependencyProperty
- ...
๐ License
Licensed under the MIT License.
๐ฌ Feedback & Contributions
Found a bug or want to contribute? Open an issue or submit a pull request โ contributions are welcome!