bazel-contrib / bazel-contrib/vscode-bazel

Syntax highlighting in BUILD files

Open
#54 9 comments 0 reactions 0 assignees View on GitHub
more info needed
Dominant language
TypeScript
Stars
296
Forks
108
Avg merge
3d 22h
Merged PRs (30d)
5

Description

I don't get syntax highlighting only in `BUILD` files (language mode defaults to "Plain text").
If I rename my file to `BUILD.bazel`, the syntax highlighting turns on.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in VS Code with a file named BUILD and compare it with BUILD.bazel, focusing on the extension's language-association entry point. Done means BUILD files receive the same Bazel syntax highlighting as BUILD.bazel files; the issue does not name a specific source file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.