rust-monaco
rust-monaco copied to clipboard
Rust WASM bindings for the Monaco Editor
Added a yaml worker to handle `yaml` syntax and color highlighting.
Hello, currently no rust code is executing before `editor.js` loaded, which means blank page. Is there a possibility to load it only when `yew::CodeEditor` is mounted, while not blocking other...
I'm trying to use the api module to create a monaco editor in a leptos app but am struggling. Ideally, it would be very nice to have a leptos feature...
At the moment I am trying to add `cmd + enter` command with a leptos app that is using monaco. It is not clear how to do this using the...
It would be really nice to be able to remove the minimap from the editor. The way I thought I might do that would be with the `with_*()` methods on...
This is definitely not yet ready, but I wanted to share the current state.
Do you have plans on adding your 0.5.0 version of monaco to cargo? https://github.com/siku2/rust-monaco/blob/bbc6523c0f97786a22d76ced650e6b31a1971f7a/Cargo.toml#L3
I was trying to update the monaco editor. This crate has version 0.31, where 0.41 is the most recent one. It was mostly straight forward, but I do fail generating...
```js error[E0599]: no method named `with_automatic_layout` found for struct `CodeEditorOptions` in the current scope --> yew\src\main.rs:16:10 | 16 | .with_automatic_layout(true) | ^^^^^^^^^^^^^^^^^^^^^ method not found in `CodeEditorOptions` error[E0277]: the trait...
We're now using `rust-monaco` successfully at https://lang.prql.builders/editor.html — a live compiler in the browser — thank you very much @siku2 for enabling this. Next we'd like to allow adding a...