grafana / vscode-jsonnet

Full code support (formatting, highlighting, navigation, etc) for Jsonnet
Apache License 2.0
70 stars 9 forks source link

`jsonnet: Evaluate File` does not work in Windows #19

Closed csj8520 closed 1 year ago

csj8520 commented 2 years ago

An error occurred executing the jsonnet: Evaluate File command in Windows.

image

cazeaux commented 1 year ago

Hello

I have the same issue. I can't figure out where the error is.

julienduchesne commented 1 year ago

It's the paths separated by \. I'll take a look 👀

julienduchesne commented 1 year ago

I published a tentative fix in v0.3.2. Let me know if it works!

csj8520 commented 1 year ago

@julienduchesne

Thank you, but it still doesn't work, I test the following modification can work properly

image

julienduchesne commented 1 year ago

Thanks for the tip @csj8520. I only have linux and mac to test 😅. I've released v0.3.3, let me know if it works!

csj8520 commented 1 year ago

@julienduchesne Thank you for your help. It can be used normally now

cazeaux commented 1 year ago

Thank you @julienduchesne, this is working fine now