Page 1 of 1

Visual Studio Code: ZScript Language Support 1.8.1

PostPosted: Fri Oct 30, 2020 9:44 am
by KaptainMicila
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.

Re: Visual Studio Code: ZScript Language Support 0.9.6

PostPosted: Wed Dec 16, 2020 8:44 am
by Nash
Putting my endorsement. This highlighter works perfectly! I'm using it in all my ZScript projects now.

Re: Visual Studio Code: ZScript Language Support 0.9.6

PostPosted: Wed Dec 16, 2020 12:26 pm
by AFADoomer
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 :-(.

Re: Visual Studio Code: ZScript Language Support 0.9.6

PostPosted: Wed Dec 16, 2020 12:30 pm
by Nash
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.

Re: Visual Studio Code: ZScript Language Support 0.9.6

PostPosted: Sun Jan 17, 2021 8:01 am
by KaptainMicila
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™.

Re: Visual Studio Code: ZScript Language Support 0.9.6

PostPosted: Thu Jan 21, 2021 4:27 am
by Talon1024
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.

Re: Visual Studio Code: ZScript Language Support 0.9.6

PostPosted: Sat Jan 23, 2021 9:22 am
by KaptainMicila
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.

Re: Visual Studio Code: ZScript Language Support 1.0.0

PostPosted: Sun Jan 24, 2021 7:45 am
by Nash
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!