antlr / antlr4-lab

A client/server for trying out and learning about ANTLR
MIT License
36 stars 11 forks source link

Added Monaco editor #3

Closed Serhioromano closed 2 years ago

Serhioromano commented 2 years ago

Monaco editor is developed by Microsoft and used by VS Code.

I added that editor so that text is more easily edited.

It looks like a lot of changes but those are mostly addition of Monaco source files. And my changed did not change anything in logic. Only one thing was changed I deleted Hover effect on a input div to show errors and createв a ul list under it to show list of errors. That is because jQuery Hovers will not work, but if this PR is accepted later I add Monaco editor hovers, you can see an (example here)[https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-hover-provider-example].

Screenshot 2022-08-10 190756

parrt commented 2 years ago

I think I'd like to keep it simple for now so that I can modify. I couldn't understand all of the fancy Monaco stuff which is why I didn't use it earlier.

Serhioromano commented 2 years ago

I think I'd like to keep it simple for now so that I can modify. I couldn't understand all of the fancy Monaco stuff which is why I didn't use it earlier.

Look you can concentrate on Server and I can do UI. You tell me what you want and I'll add it.

parrt commented 2 years ago

The first rule of open source software is that people come and go and I fundamentally need to be able to modify the software. Plus even when you are still around I need to be able to make changes. Further, I got a lot of joy out of creating visual tools.