Visual Studio Code: ZScript Language Support 1.7.4

Any utility that assists in the creation of mods, assets, etc, go here.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

Visual Studio Code: ZScript Language Support 1.7.4

Postby KaptainMicila » Fri Oct 30, 2020 9:44 am

This is a language support extension for Visual Studio Code

As promised in my last post:
Why Kate Editor?
Well, I decided that because of my personal needs, as that's the editor I use. But my real plan is to use this one as a base for the more complex highlighting system for VSCode, as that's an editor people actually use.
And as Kate supports LSP, the final stage of my plan is to make a ZScript language server. But that's gonna be something for later.

But, wasn't there an extension arleady for it?
Yes. there is. But I decided to remake it. It's not a fork of it, either. Most stuff in it was somewhat hardcoded, and I tried to hardcode the least possible I could.

HOW TO INSTALL
FOR VERSIONS 0.9.X

  • Get the .vsix from the "Releases" page on github
  • Open VSCode
  • Open the command palette ("Ctrl + Shift + p")
  • Type "Extension: install from VSIX"

FOR VERSIONS >= 1.0.0
Just do the same thing for earlier versions OR: Get it from Visual Studio's Marketplace or Open VSX Registry

FEATURES
  • ZScript Syntax highlighting (0.9.0)
  • ACS Syntax highlighting (1.3.0)
  • ZScript Programmatic Language Features (1.6.0)
  • ZScript Autocomplete (1.6.2)
  • DECORATE Syntax highlighting (1.7.0)

GITHUB LINK
For more specific installation instructions, reporing issues and downloading the source files
https://github.com/KaptainMicila/ZScript-VSCode

File became too big, can't upload it anymore. Rip.
Last edited by KaptainMicila on Wed May 05, 2021 1:46 pm, edited 16 times in total.
User avatar
KaptainMicila
 
Joined: 19 Aug 2019
Location: Pizzaland
Discord: KaptainMicila#6756
Github ID: KaptainMicila
OS Test Version: No (Using Stable Public Version)

Re: Visual Studio Code: ZScript Language Support 0.9.6

Postby Nash » Wed Dec 16, 2020 8:44 am

Putting my endorsement. This highlighter works perfectly! I'm using it in all my ZScript projects now.
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: Visual Studio Code: ZScript Language Support 0.9.6

Postby AFADoomer » Wed Dec 16, 2020 12:26 pm

Very nice! Definitely going to give this a try long-term.

If only it were easier to get Intellisense fully working to dynamically detect declared object functions and variables. On initial glance, it seems a very convoluted process to implement for custom languages :-(.
User avatar
AFADoomer
 
Joined: 15 Jul 2003

Re: Visual Studio Code: ZScript Language Support 0.9.6

Postby Nash » Wed Dec 16, 2020 12:30 pm

Intellisense (including fully supporting it across #included files) would ultimately be the most awesome thing ever. As I'm sure Kaptain knows because I keep bugging him about it. :mrgreen:

I understand, however, that it's one of the most difficult things to develop. At any rate, even just colour highlighting as it is, is already a huge productivity enhancer.
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: Visual Studio Code: ZScript Language Support 0.9.6

Postby KaptainMicila » Sun Jan 17, 2021 8:01 am

Thanks for everybody using my extension. The project is absolutely not dead, and I'm always avaible to fix any problems (VSCode tends to break stuff between updates, it already happened once).
About the intellisense part: between my job and hatred for VSCode's documentation and extension API, it's really hard to implement, but doable. I just need to bash my head on the keyboard enough times to make it click.
Thanks again for using my extension: it's gonna be released on the market (as no bugs have been found out in months) soon™.
User avatar
KaptainMicila
 
Joined: 19 Aug 2019
Location: Pizzaland
Discord: KaptainMicila#6756
Github ID: KaptainMicila
OS Test Version: No (Using Stable Public Version)

Re: Visual Studio Code: ZScript Language Support 0.9.6

Postby Talon1024 » Thu Jan 21, 2021 4:27 am

When you release this extension on the VS Code marketplace, can you please release it on Open VSX as well? I use VSCodium, since I'm not a fan of telemetry.
Talon1024
 
 
 
Joined: 27 Jun 2016
Github ID: Talon1024
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Visual Studio Code: ZScript Language Support 0.9.6

Postby KaptainMicila » Sat Jan 23, 2021 9:22 am

Talon1024 wrote:When you release this extension on the VS Code marketplace, can you please release it on Open VSX as well? I use VSCodium, since I'm not a fan of telemetry.

Sure thing, Talon.
User avatar
KaptainMicila
 
Joined: 19 Aug 2019
Location: Pizzaland
Discord: KaptainMicila#6756
Github ID: KaptainMicila
OS Test Version: No (Using Stable Public Version)

Re: Visual Studio Code: ZScript Language Support 1.0.0

Postby Nash » Sun Jan 24, 2021 7:45 am

Congratulations on the marketplace release. What's interesting is that VS Code immediately recognized the extension and prompted an editor update (despite me never having installed it from the marketplace, ever - I only ever manually installed in the past). Left a glowing review; keep up the great work!
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes


Return to Editors / Asset Manipulation

Who is online

Users browsing this forum: No registered users and 0 guests