Yesterday17 / ZenScript

Visual Studio Code extension/Language Server for ZenScript, includes highlight, code snippet and language server(WIP). Works with 👇
https://github.com/Yesterday17/Probe
MIT License
33 stars 4 forks source link

Liquid does not exist although shown in intellisense #26

Closed rlnt closed 4 years ago

rlnt commented 4 years ago

I am currently having a problem that liquids in my scripts are throwing errors like:

BracketHandler <liquid:refinedcanolaoil> does not exist.

The interesting part is that it's shown in the intellisense and it's also included in my .zsrc file from the probe mod. It happens with any liquid in many different files so it's probably a problem by the extension. It's also weird that the message is shown twice which you can see here:

Versions ZenScript: v0.2.3 Probe: v0.1.23 VSCode: 1.44.2

Yesterday17 commented 4 years ago

Does this issue remain if replace ‘liquid’ with ‘fluid’?

rlnt commented 4 years ago

Yes, it does. If you want to take a look, here are the files which includes the two scripts with the errors and my .zsrc file. scripts.zip

Yesterday17 commented 4 years ago

hmm, seems the way it judges whether liquid exists is totally wrong

Yesterday17 commented 4 years ago

DONE Published yesterday17.zenscript@0.2.4 Your extension will live at https://marketplace.visualstudio.com/items?itemName=yesterday17.zenscript (might take a few minutes for it to show up).

rlnt commented 4 years ago

Yep, that fixed it. Thanks a lot! :)