Closed CDHon closed 1 year ago
What's your zig version? Where is the zig executable located?
What's your zig version? Where is the zig executable located?
zig-windows-x86_64-0.10.0.zip "C:\Program Files\zig\zig.exe"
I changed it to "C:\Program Files\zig\bin\zig.exe" and typed "C:\Program Files\zig", but it still dose not work.
I tried "C:/Program Files/zig" and dose not work too.
By the way, my system is window11, IDE is clion 2021.2.3.
I checked again. The message is generated by https://github.com/ice1000/intellij-zig/blob/fea6c724f7b7534b80d418966f4338999afa7d6f/src/org/ziglang/project/ui/ui-impl.kt#L57-L60 which uses the check https://github.com/ice1000/intellij-zig/blob/c3d9e90558e494bc84ee7c4df6cafff70ec235d7/src/org/ziglang/project/utils.kt#L39-L42
So you need to make sure that directory exists. I'm unsure if Zig has updated the dist format.
The code was changed to https://github.com/ziglang/zig/blob/78f26b970e1c5c288e45d0edd2ab2f229e6fe924/src/introspect.zig#L8-L34
So the plugin also needs to be updated
It's a surprise that Zig has changed their naming convention
可以帮我改改代码吗 谢谢茄子
可以帮我改改代码吗 谢谢茄子
惭愧,我目前是个云程序员,不太懂编程
@anatol can you help 🥺🙏
@CDHon, what version of zig do you use? What version of the plugin do you use?
@CDHon I am not familiar with this part of the plugin. Please provide exact steps on how to reproduce the problem.
@CDHon I am not familiar with this part of the plugin. Please provide exact steps on how to reproduce the problem.
You basically reimplement the logic of validating the Zig SDK. It was just checking the existence of some files, but Zig changed the layout of the SDK and the logic of validation is also changed. The job is to adapt the changes.
bump zig version 0.11.0-dev.85+694d8831c plugin 0.1.1
Last release is still from Apr 26, 2019
Last release is still from Apr 26, 2019
I have uploaded an update.
you have committed changes but haven't made a release.
you have committed changes but haven't made a release.
It's only accessible to me unless JetBrains has approved it, my dear Commercial Director.
you have committed changes but haven't made a release.
It's only accessible to me unless JetBrains has approved it, my dear Commercial Director.
ah, right. i was talking about git repo release in here, so that we could manually install the plugin right away.
you have committed changes but haven't made a release.
It's only accessible to me unless JetBrains has approved it, my dear Commercial Director.
ah, right. i was talking about git repo release in here, so that we could manually install the plugin right away.
I am unsure but maybe you can download the artifact from Circle CI. In a few days, you should be able to download it from IntelliJ marketplace.
I think it's probably unnecessary to upload release into two different places :)
when i type my zig path(C:\Program Files\zig) in the install path, it told me "invaild zig install path", what should i type?
谢谢冰封哥