pmgl / microstudio

Free, open source game engine online
MIT License
931 stars 106 forks source link

Code Editor: Improvements #61

Open HomineLudens opened 2 years ago

HomineLudens commented 2 years ago

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

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

pmgl commented 2 years ago

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!

TinkerStudio commented 2 years ago

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