miho / MonacoFX

JavaFX editor node based on the powerful Monaco editor that drives VS Code
MIT License
78 stars 25 forks source link

Get list of supported languages? #28

Open EasyG0ing1 opened 1 year ago

EasyG0ing1 commented 1 year ago

I could not seem to find a way to get a list of the languages that MonacoFX has syntax highlighting and code folding for.

I'd like to include a list of supported languages in my application so it would be nice to be able to get that list from the library along with the file extensions that can be used with getEditor().getDocument().setLanguage() method.

Is this currently possible with MonacoFX? If so, how do I do it?

Thank you,

Mike