We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
scala:annotate imports
A user complained about this.
Rather than annotating the RHS of the srcs attribute, annotate the rule (or something else).
srcs
Depends on bazel-contrib/bazel-gazelle#1390.
The text was updated successfully, but these errors were encountered:
Snippet for existing_scala_rule.go:
existing_scala_rule.go
assign := r.AttrAssignExpr("srcs") if assign != nil { annotateImports(imports, &assign.Comments, sc.shouldAnnotateImports(), sc.shouldAnnotateUnresolvedDeps()) }
Sorry, something went wrong.
Consider adding a marker line in case comments already exist:
comments.Before = append(comments.Before, build.Comment{Token: "# ≡[scala imports]≡"})
No branches or pull requests
A user complained about this.
Rather than annotating the RHS of the
srcs
attribute, annotate the rule (or something else).Depends on bazel-contrib/bazel-gazelle#1390.
The text was updated successfully, but these errors were encountered: