Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default editor: Monaco(VS Code) vs Codemirror vs ? #69

Closed
Rokt33r opened this issue Aug 30, 2019 · 3 comments
Closed

Default editor: Monaco(VS Code) vs Codemirror vs ? #69

Rokt33r opened this issue Aug 30, 2019 · 3 comments
Labels
poll 🗳️ Issue has an actively running poll

Comments

@Rokt33r
Copy link
Member

Rokt33r commented Aug 30, 2019

For default editor, I'm think between Monaco and Codemirror. Both of them are quite powerful and battle tested. We might want to one

So I want to ask two things for now:

  1. Leave a comment to add more Pros and Cons.
  2. Vote with reaction. (:tada: for Monaco, :rocket: for codemirror as I did in this issue.)

If you know another better solution, please leave a comment about it.

Monaco

https://microsoft.github.io/monaco-editor/

Pro

  • Written in typescript

Cons

  • The code is generated code from VSCode
  • Don't support mobile device(You can still use it)

The problem is we might use different editor for mobile app. I guess we eventually have our own markdown editor one day. But making one should take long time and lots of effort. And due to they don't support mobile device, we couldn't expect that any problems in mobile can be fixed.

Codemirror

https://codemirror.net/

Pros

  • Supporting mobile

Cons

  • Written in Javascript(Type definition might not be perfect)

Good news is that next version(v6) of codemirror will be written in Typescript although it is still in prototype status.

@Rokt33r Rokt33r added the poll 🗳️ Issue has an actively running poll label Aug 30, 2019
@ZeroX-DG
Copy link
Member

ZeroX-DG commented Aug 30, 2019

We should also consider Ace Editor. I haven't check it out yet so I can't say much, but some people said it's better than CodeMirror (and it has more stars 😄 ).

What do people say about Ace Editor vs CodeMirror (The date of those links are pretty old so things could be changed now):

However, Ace development is not as active as CodeMirror:
Ace:
image

CodeMirror:
image

@jhdcruz
Copy link
Contributor

jhdcruz commented Aug 31, 2019

We should also consider Ace Editor. I haven't check it out yet so I can't say much, but some people said it's better than CodeMirror (and it has more stars 😄 ).

They also provided a packaged version of Ace code editor on NPM, npm i ace-builds, that was last published 2 months ago.

However, the last commit was made on June 18, 2019, for Package 17.06.19 / 1.4.5.

However, Ace development is not as active as CodeMirror:

Yep, I can see that now. 😅

@Rokt33r
Copy link
Member Author

Rokt33r commented Feb 13, 2020

We're going to use codeMirror but also we might introduce alternative version of BoostNote with monaco editor one day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
poll 🗳️ Issue has an actively running poll
Projects
None yet
Development

No branches or pull requests

3 participants