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

Code Editor: Improvements #61

Open
HomineLudens opened this issue Jan 19, 2022 · 2 comments
Open

Code Editor: Improvements #61

HomineLudens opened this issue Jan 19, 2022 · 2 comments
Labels
code editor enhancement New feature or request

Comments

@HomineLudens
Copy link
Contributor

HomineLudens commented Jan 19, 2022

There's a couple of missing features in the actual code editor that would be nice to integrate:

  • Search/Replace among multiple text files
  • Goto to definition
  • Cross reference
  • Autoformat/Beautify

Has also been proposed to replace Ace editor with Monaco, I have no idea which one would be better

@HomineLudens HomineLudens changed the title Improve code editor Code Editor: Improvements Jan 20, 2022
@pmgl
Copy link
Owner

pmgl commented Jan 20, 2022

I will evaluate Monaco, as this has been suggested multiple times and seems to be the the best nowadays. There is a number of features I will need to migrate from Ace to Monaco, not so many and shouldn't be too difficult.

One area where I would appreciate some help though is on creating correct syntax highlighting rules for microScript. I never really dug the subject, even for the Ace editor where all I did was mostly guesswork. I would be glad if someone was willing to spend some time working on a microScript support file for Monaco (even just a draft) and help me understand how it all works!

@pmgl pmgl added the enhancement New feature or request label Jan 20, 2022
@TinkerStudio
Copy link

TinkerStudio commented Jan 22, 2022

I will evaluate Monaco, as this has been suggested multiple times and seems to be the the best nowadays. There is a number of features I will need to migrate from Ace to Monaco, not so many and shouldn't be too difficult.

One area where I would appreciate some help though is on creating correct syntax highlighting rules for microScript. I never really dug the subject, even for the Ace editor where all I did was mostly guesswork. I would be glad if someone was willing to spend some time working on a microScript support file for Monaco (even just a draft) and help me understand how it all works!

Would love to help in any way, but that's beyond my horizon. I had a play with it ages ago, since it's in VS Studio too, but got too complicated for me, LOL.
The online playground I used is this one, if of any use:
Testing Language Syntax definitions

Hmmm ... even so looking at the Lua examples it actually doesn't look that complicated. One for the experts here :)
LUA definitions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code editor enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants