-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specifying the path to Zig leads to error "cant find Zig in PATH" and does not set the path to Zig #237
Comments
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 This step may soon be automated by #230 so hopefully this issue should get resolved at the latest by then. |
It is shown after I choose the path, but then I can repeat this forever if I restart VSCode.
Nope, as I said it doesn't fill that setting. |
This issue was also present for a long time in the initial setup until its removal. fixes #237
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: