-
Notifications
You must be signed in to change notification settings - Fork 14
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
Error on running the command #29
Comments
Same here! Running protolint in WSL2. protolint is accessible on the PATH, but it doesn't appear to be activated when editing a proto file |
Does it work outside of WSL? I can take a closer look at this later today |
Yes then it works nicely |
I just setup VSCode, vscode-proto3, vscode-protolint, and protolint on WSL and it was working for me. Did you install the WSL extension for VSCode? Any additional screenshots could also be helpful. The error here seems like the command itself, |
c126859 fixes an issue where I'm hoping it fixes the issue here as well, but I have doubts if this setting was not in use and your protolint binary was accessible on the path. |
Thanks for investigating:
Yes. I doublechecked and it definitely isn't the local one.
I can certainly make those, but what would you like screnshots of? The only thing I see is a toast/notification at the bottom-right that command protolint.lint cannot be found.
Ok that's good to know. I installed protolint through the |
Hello, I added #31 to address this issue via UX: invalid binary path now causes a warning with actions to fix the path. |
Thanks! Don't know what else you did, but it suddenly started working for me, without any other configuration! This is great. |
This seems to fix the issue but the |
I get this error after installing the extension and running the command:
Command 'Protolint: Lint protobuf file' resulted in an error (command 'protolint.lint' not found)
I have protolint in the path and vscode-proto3 installed. On Windows 11.
The text was updated successfully, but these errors were encountered: