intellij icon indicating copy to clipboard operation
intellij copied to clipboard

Syntax highlighting for *.MODULE.bazel files

Open rafikk opened this issue 8 months ago • 1 comments

Description of the feature request:

Bazel 7.2 introduced support for include directives in MODULE.bazel files.

The included files must be named according to the format *.MODULE.bazel. The Bazel IntelliJ plugin does not recognize these as Starlark or Bazel files and does not provide syntax highlighting or other features.

Which category does this issue belong to?

No response

What underlying problem are you trying to solve with this feature?

No response

What operating system, Intellij IDE and programming languages are you using? Please provide specific versions.

IntelliJ IDEA Ultimate 2024.2.5 and Bazel Plugin 2025.02.18.0.1-api-version-242

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

rafikk avatar Apr 03 '25 13:04 rafikk

@rafikk I've attached a draft PR to this issue. I'd appreciate it if you could try it.

bazelisk build //ijwb:ijwb_bazel_zip --define=ij_product=intellij-ue-2025.1

ujohnny avatar May 26 '25 22:05 ujohnny