currently, for syntax highlighting, AE Studio uses a temporary hack that @bruteforce.chain thankfully brought up some time ago. It’s missing important type highlightings by now though, so we definitely need to update.
The bespoke library is MS’ open source monaco, which basically runs under the hood of Visual Studio Code, so it’s highly relevant and worth to stick to.
Could we maintain the syntax highlighting module for that library as part of aesophia, please ? If possible, right in the repo ?
after submission of that proposal somebody extended Milens work, started developing a language server and published a plugin for VSCode. recently I tried to use it but I think I ran into some probems. so not sure whether is is actually usable and/or up to date. it was published in this thread: Aesophia-vscode, a Sophia VSCode extension with basic LSP implementation
maybe @ybin64 is still with us and can provide some information about it. I’d love to see that work updated and continued
this is why the Language Server Protocol was created. this makes it possible to consume the logic (e.g. autocomplete, goto, …) in different IDEs in a standardized way. of course a client for each editor would be required. but the support for different IDEs could be developed quite easily on demand then.
ideally we find somebody that has already experience developing LSP and could either use the js-transpiled version of sophia or update and extend the existing implementation of @ybin64
The LSP part of the current aesophia vscode - plugin shouldn’t be that hard to re-use for a generic
nodejs-based LSP-provider that is useful for editors supporting the LSP-protocol.
But as @nikitafuchs.chain said, that won’t solve the syntax highligting, that’s editor-/ide-specific.
I’m a little busy right now, but if you can wait a little bit more I can give it a try within the next month.