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!