It could be useful if someone reworked v-vscode to incorporate multiple editors by using this handy tool: https://eeyo.io/iro/
Introductory article: https://medium.com/@model_train/creating-universal-syntax-highlighters-with-iro-549501698fd2
Id love to have a plugin for GoLand.
The Microsoft Language Server Protocol would also be very useful to define. Existing language implementations (would be good exposure for V): https://microsoft.github.io/language-server-protocol/implementors/servers/
https://github.com/0x9ef/vscode-vlang define it for VSCode but it's TextMate.
You can transfer it to others IDE like Atom for example with : https://flight-manual.atom.io/hacking-atom/sections/converting-from-textmate/
Yes, but I think conversion from TextMate to others is a manual process. The reason I thought using Iro might be the best option is because we'd essentially only have one grammar to maintain so as to update the others...
I agree that converting from TextMate to Iro seems like extra work, but to get the additional languages which would seem to give us all of the major editors (including emacs I believe) seems worth the effort...
Word of warning, when I was briefly playing around in Iro I wasn't sure if the save or download function worked quite right so if you fiddle with this you'll want to copy your work out of it so as to be sure you don't lose anything.
By the way @MostHated from what I can tell GoLand will also work with the TextMate grammar that will come from this. See PhpStorm help re: TextMate and since PhpStorm pretty much is GoLand (same with all JetBrains editors), then this extends over. Also GoLand help.
@ylluminate I've started it : https://gist.github.com/AurelienFT/49ffe2b04d80e7e8694be1488c4b0aec
Adding V support to GitHub is relevant to this @AurelienFT: https://github.com/github/linguist/pull/4564
@joe-conigliaro that is what @AurelienFT is working back from. Once we get it defined in iro we'll have one source for updating the grammar so that TM and all the others are autogenerated and thus we should, in theory, support most editors pretty easily. Even emacs can use the pygments output...
@ylluminate Cool that sounds good
This issue has been closed due to the inactivity.
Please reopen this issue if you want to continue the discussion.
Once we have this - I am assuming that we will have VIM integration as well right?
Most helpful comment
Id love to have a plugin for GoLand.