[Tool] WeiDU language support for Visual Studio Code
ALIEN
Member Posts: 1,271
Hi,
As of 2021, please use this wonderful VSCode extension:
https://forums.bgforge.net/viewtopic.php?f=35&t=137
Huge thanks to @Magus_BGforge for expanding the idea beyond any limits!
Are you a programmer? Or maybe you have a friend who codes? Then please ask about a favor:
You can use https://github.com/Argent77/NotePad_PlusPlus_WeiDU as a reference.
The features of the VSC Language Services offers great ways to help IE Modders: not only provide syntax highlighting and code style formatting but can provide completion for default parameters and even warn the user about some weidu-specific requirements when you write WeiDU code.
Making the basic syntax highlighter should not require deep WeiDU knowledge. But it would provide a huge help for the IE modders.
As of 2021, please use this wonderful VSCode extension:
https://forums.bgforge.net/viewtopic.php?f=35&t=137
Huge thanks to @Magus_BGforge for expanding the idea beyond any limits!
Are you a programmer? Or maybe you have a friend who codes? Then please ask about a favor:
Please try to make WeiDU language support for Visual Studio Code.
You can use https://github.com/Argent77/NotePad_PlusPlus_WeiDU as a reference.
The features of the VSC Language Services offers great ways to help IE Modders: not only provide syntax highlighting and code style formatting but can provide completion for default parameters and even warn the user about some weidu-specific requirements when you write WeiDU code.
Making the basic syntax highlighter should not require deep WeiDU knowledge. But it would provide a huge help for the IE modders.
Post edited by ALIEN on
2
Comments
I've successfully converted it for use in Atom (https://atom.io/). I need to learn how to package and publish an Atom package. I'll try to do that ASAP.
If you're set on VS Code instead of Atom, maybe there are tutorials to convert .tmLanguage definitions to VS Code.
EDIT: Screenshot of Atom with the WeiDU syntax highlighting:
As of 2021, please use this wonderful VSCode extension:
https://forums.bgforge.net/viewtopic.php?f=35&t=137
Huge thanks to @Magus_BGforge for expanding the idea beyond any limits!
So, you have a working WeiDU syntax highlighter for Atom.... I too use Atom and I'd like to try it..... What about sharing it with the community?
We'll likely be joining forces with @ALIEN. Anyone else willing to help is welcome. Some details are here.
Regarding Atom, it should be easy to re-use syntax highlighting, but completion and other intellisense will require writing a bit of glue code (the extension utilizes Language Server Protocol, most of the logic is implemented in the server, but it needs a client, which is individual for every IDE).
https://forums.bgforge.net/viewtopic.php?f=35&t=137
Huge thanks to @Magus_BGforge for expanding the idea beyond any limits!
BGforge MLS is updated to version 1.16.0.
What’s new:
Changelog, forum.