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
34 stars 4 forks source link

Snippet not working #55

Open Naptik opened 1 year ago

Naptik commented 1 year ago

image image

Sometimes the snippets dont work at all, sometimes they only show a few snippets as you can see in the image.

Xelbayria commented 1 year ago

Did you used this: probe that export the item data and other data from CraftTweaker mod for the extension to be fully functioning

EDIT: nvm, it looks like you knew what you were doing. and I am trying to find out why snippets is not showing up that we often used in Crafttweaker like recipes.addShaped()

Xelbayria commented 1 year ago

@Yesterday17

via the "ZSRC" file, it contained crafttweaker.api.recipes which is related to the structure of mod (if i am looking at the github of crafttweaker)

then it would be src/crafttweaker/api/recipes

is that correct? I'm investigating to find out why the snippets doesn't show a simple snippet like recipes.addShaped()

Xelbayria commented 1 year ago

image image

Sometimes the snippets dont work at all, sometimes they only show a few snippets as you can see in the image.

meanwhile the extension from yesterday17 is not 100% working properly. you can use its autocomplete to get item data (modID) in the editor.

and use this other extension it will give you autocomplete for other codes like recipes.addShaped()