4 ms·
To be honest I think we need to stop thinking that "cloud development" needs to be in a browser. People like to do all sorts of things with their IDE that I cer
by Sophistifunk 10y ago
To be honest I think we need to stop thinking that "cloud development" needs to be in a browser. People like to do all sorts of things with their IDE that I certainly hope browsers never let pages do, like intercepting certain command keys, controlling the layout of multiple windows interacting with and knowing more about the user's display dimensions and multi-monitor, etc.
Not to mention things like vertical-selection, or multiple cursor modes for column editing, which can't be done at all in any of the current web-based editors which AFAIK are all based on contentEditable rather than a custom renderer like the original Bespin (I think, that thing changed codewords a lot).
Now some of these can be addressed with Electron or similar, but there's a lot of things that are nice to do in a code editor that just aren't compatible with the DOM itself, and need a deeper customisation of the rendering and input management.
TL/DR - it's mostly UX :D
- chr1 10y agoMost of online ides use Ace or Codemirror both of which support sublime style multiple cursors and are not based on contentEditable
- Sophistifunk 10y agoI didn't know this, cheers!
- kabes 10y agoHave a look at: https://github.com/Microsoft/monaco-editor https://github.com/Microsoft/monaco-editor . It's what powers visual studio code and has all of those things