eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

Syntax highlight do not always work

Open
#1,801 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
59
Forks
127
Avg merge
23h 30m
Merged PRs (30d)
35

Description

```
Version: 2024-12 M3 (4.34.0 M3)
Build id: 20241114-0154
```

I noticed since a while now that *sometimes* the syntax highlighting do not work (but can't find a reproducer yet).

What happens is that

1. I have a Java Editor open and syntax coloring is all fine
2. Then I edit the code (e.g. adding a space at end of line)
3. This suddenly makes some (but not all) blocks of code render without any highlights
4. Save the file and often coloring is back
5. In some cases the problem persist and only close/open the editor helps

I just wanted to let people know about this to probably share ideas how one can find out more details or if others have seen such issues already.

Contributor guide

Open the contributing guide

Research direction

Start with a Java Editor in Eclipse 2024-12 M3 and follow the reported sequence: edit code, observe missing syntax highlights, save, and close/reopen the editor. Compare whether highlighting returns after each step and capture a reproducible example, since the report names no files, tests, or reliable reproducer. Done means the failure is reproducible and its cause and corrective change are identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
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.