bazelbuild / vscode-bazel

Bazel support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=BazelBuild.vscode-bazel
Apache License 2.0
231 stars 76 forks source link

Relative paths for buildifier still trigger warning on startup #386

Closed ryanwilsonperkin closed 2 months ago

ryanwilsonperkin commented 2 months ago

Follow up to https://github.com/bazelbuild/vscode-bazel/issues/329

I'm now using v0.10.0 to take advantage of the ability to use a relative path for the buildifier executable, and while this does work for formatting, it still causes a warning on VSCode startup that the executable couldn't be found. I suspect that the warning check is still only looking at the system path, and isn't respecting the new relative path format.

Screenshot 2024-05-01 at 10 00 38 AM Screenshot 2024-05-01 at 10 00 46 AM Screenshot 2024-05-01 at 10 01 07 AM