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
@michaelarusso Given that you seem to have everything set up to test this locally, would you be interested in playing with these filters to make them work and submit a PR? I could review the PR and help out if you get stuck.
What version of rules_go are you using?
0.34.0
What version of gazelle are you using?
0.26.0
What version of Bazel are you using?
5.3.2
Does this issue reproduce with the latest releases of all the above?
n/a
What operating system and processor architecture are you using?
macOS Monterey / M1
Any other potentially useful information about your toolchain?
n/a
What did you do?
Using
gopackagesdriver.sh
with the following contents:This causes parse errors with the gopls language server causing go-to functionality to fail in VsCode. See golang/go#56208.
When running
echo {} | ./tools/gopackagesdriver.sh file=path/to/file/with/problem.go
, C source files are included in the GoFiles and CompiledGoFiles.An example is when gocv pkg (https://github.com/hybridgroup/gocv) is used. Here is the output for one file where this issue appears:
What did you expect to see?
Only
.go
files in the GoFiles and CompiledGoFiles list and not.h
or.cpp
files, with the non-Go files potentially in an OtherFiles list.What did you see instead?
.h
and.cpp
files included GoFiles and CompiledGoFiles lists.The text was updated successfully, but these errors were encountered: