You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the extension on Windows 11.
This pops up when I open my existing project:
I choose "Specify Path"
I then navigate to where zig.exe already is (I can't choose a folder so I guess it wants that (then I noticed the title of the dialog)):
Which then leads to this error notification:
Then after that when I restart vscode the extension asks me again to locate Zig. The setup dialog did not set the path in settings.
I dont know if that's a bug or if I'm missing some kind of way to set this up, but it looks like a bug considering how obvious those steps are
The text was updated successfully, but these errors were encountered:
Zylann
changed the title
Specifying the path to Zig causes error "cant find Zig in PATH"
Specifying the path to Zig causes error "cant find Zig in PATH" and does not set the path to Zig
Oct 11, 2024
Zylann
changed the title
Specifying the path to Zig causes error "cant find Zig in PATH" and does not set the path to Zig
Specifying the path to Zig leads to error "cant find Zig in PATH" and does not set the path to Zig
Oct 11, 2024
Pretty sure I hit this every time I started playing with zig after being away for months. I was always confused whether it wanted me to pick the executable or the directory it was in. When I randomly guess right I forget about it again.
The prompt should not allow you to select a folder so that should not be an issue. Does the "cant find Zig in PATH" popup persist or is it only shown after you select the path? And can you confirm that in your settings file there is a zig.path: "some/path/to/zig.exe" pointing to a valid Zig binary?
This step may soon be automated by #230 so hopefully this issue should get resolved at the latest by then.
I installed the extension on Windows 11.
This pops up when I open my existing project:
I choose "Specify Path"
I then navigate to where
zig.exe
already is (I can't choose a folder so I guess it wants that (then I noticed the title of the dialog)):Which then leads to this error notification:
Then after that when I restart vscode the extension asks me again to locate Zig. The setup dialog did not set the path in settings.
I dont know if that's a bug or if I'm missing some kind of way to set this up, but it looks like a bug considering how obvious those steps are
The text was updated successfully, but these errors were encountered: