ZScript for vscode

Hello, I created a visual studio code extension to help everyone with writing ZScripts. It is way more than a simple zcommand autocomplete and text coloring.

Functionalities:


  • Autocomplete
  • type checking
  • symbol (provide variable/routine defined in the document and in inserted zscript)
  • definition/declaration provider
  • color representation and color picker
  • provide information when hovering a symbol
  • relative path auto complete
  • Command Signature ( what argument the command want)
  • Code Snippets

https://marketplace.visualstudio.com/items?itemName=ouelletjonathan.zscript#overview

The Extension in Action:

About Visual Studio Code

For the ZScripters that are not familiar with vscode, it’s a free, open source and all platform compatible
text editor maintained by Microsoft.

you can download it here: https://code.visualstudio.com/

Information on how to install an extension:
https://code.visualstudio.com/docs/editor/extension-gallery

Contribution

Feel free to contribute or flag any bugs !

github: https://github.com/JonasOuellet/vscode-zscript

Hope you’ll try it and that it will make your zscripting session funnier and shorter ! :slight_smile:

Attachments

zscriptDemo.gif

Yooooooooo this is siiiick!!! Thanks for this! Gonna be super helpful for sure. :smiley:

Awesome! Really cool of you to create this!

This looks really useful! Thank you very much for sharing with the community - much appreciated! :+1:

I use VSC in my daily work - this is a big help! Thanks for sharing!

Hello.
I have something to report.
vs
In this image, routines after f3 for x < 0.0 appear to be hierarchically below f3.
If x <0.0 again at f5, f6 and f7 after f5 are not displayed in the IntelliSense item.
< seems to be the cause.
Is this a known issue?

Hello smilk !
it’s not a known issue, thanks for reporting it. I opened a issue on github for this, I will try to fix it as soon as possible.

Have a nice day :slight_smile:

J.O

Should be fixed with the new version :slight_smile:

Thank you OUELLETJONATHAN for your reply.

This is very good news:heart_eyes:
I’m so excited.

[2020-01-06T15:00:00Z added]--------
Thank you OUELLETJONATHAN:parrot::parrot::parrot:
Yeeeaaahhhh