by jez · 5y ago · 0 comments
VS Code's editor is actually available as a separate NPM package as Monaco[0], which is great because it means that you can trivially get LSP support. For example:
^ Sorbet (Ruby type checker) implements the LSP protocol and can be compiled to WASM. So by using Monaco in the browser, we get a playground that supports all the same features as you'd get in VS Code.
It's the same for the TypeScript Playground[1].
There's a lot of great work in this release of CodeMirror. I'm especially excited to see mobile support as a headline feature, because that's completely lacking in Monaco. Maybe LSP support can be a future improvement.
It's not just Monaco... pretty much all the available text editor components (beyond a plain raw textarea) suck bigly on mobile.
Editing structured text on a phone is always going to suck to some degree, so it's always nice to see anything that promises to make it suck less.
"Please note that this repository contains no source code for the code editor, it only contains the scripts to package everything together and ship the monaco-editor npm module."
Running graphical tools as external processes in their own windows misses the I in IDE.
For it to be an IDE it would need to support developing Website end to end across all layers.
By the way I use present tense, as Dreamweaver is still around, https://www.adobe.com/products/dreamweaver.html