microsoft / microsoft/azure-tools-for-java

Syntax highlighting abruptly stops in a Bicep file

Open
#8,364 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Module: Bicep
Dominant language
Java
Stars
262
Forks
185
Avg merge
2d 21h
Merged PRs (30d)
1

Description

Hi 👋🏻

I use Intellij IDEA for Java and also for Azure Pipelines and Bicep. I have the Azure Tools for IntelliJ plugin installed and when I view certain Bicep files, the syntax highlighting will end part of the way through the file:

image

Deleting certain lines around the area where it stops will then cause more of the code to be rendered with syntax highlighting, but again it will stop not long after, generally within say 50 more lines.

This is quite distracting 🙂 Am I doing something wrong? Or could this well be a bug.

Thanks,

Ross

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report in IntelliJ IDEA with the Azure Tools for IntelliJ plugin and the affected Bicep file, using the screenshot and description as the expected behavior. Narrow down which lines trigger highlighting to stop, then verify that syntax highlighting continues through the file after the issue is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, java
Domain
cloud, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.