Git Product home page Git Product logo

zscript-vscode's People

Contributors

kaptainmicila avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zscript-vscode's Issues

Bundling isn't working

After updating to the new version of vsce, it (correctly) showed me that I was always including node_modules in my final builds, increasing my build sizes from 1.16MB to 14.98MB!

I'll be adding esbuild to my project (builds much faster and outputs better code, imho), and I'll fix the .vscodeignore file.

`States` and `Default` blocks broken detection

Both States and Default blocks are detected by searching for the States and Default words in the text.
My plan was to make it that it searched for the two words AND the open curly bracket {, but it seems that VSCode's highlighter does not allow for multiline regexes.
If somebody has a clue how to fix this, I would be really happy about it.

Implement ZScript Parser

Some time ago, I wanted to make this extension something more than a syntax highlighter.

This kind of "upgrade" requires a parser. This is because all features that I want to implement need to know the code context and structure to work.

Sadly, I don't have neither the ability and the time to learn how to such thing: this extension won't become abandoned, as I will be here for all kinds of assistance and quality control for all sorts of modifications done on this repo.

Whoever wants to help me is free to do so: the code quality isn't the best, as I was learning typescript while I was working on this, but this means that even newbies might understand what I did.

Array<> detection is broken

Array<> breaks everything
Array<type> is broken and requires Array<type > to fix.

The correct syntax would be:
Array<type> normally
Array<class<type> >, to avoid colliding with the >> operator.

Syntax highlighting breaks after using function with string containing colon

When utilizing any function and inputting a string containing a colon (":"), the syntax highlighting for the remainder of the code breaks.
The syntax highlighting should remain intact for the entirety of the code after utilizing the function, irrespective of the presence of a colon in the string.

Steps to Reproduce:

  1. Use the function with a string containing a colon, like so: EventHandler.SendNetworkEvent("giveitem:BFG9000");
  2. Observe the syntax highlighting behavior in the subsequent code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.