apache / apache/netbeans

Can't display TODO annoation style as configuration in Fonts & Colors

Open
#8,108 0 comments 0 reactions 0 assignees View on GitHub
Editor kind:bug needs:triage UI
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 24

### What happened

When I configed the TODO annotations style in Fonts & Colors as the following pic:
![image](https://github.com/user-attachments/assets/58a25cf1-3d32-486e-b5ae-2528c29a2cf3)

and return to the source page, but the TODO annotation are not following the configuration.
![image](https://github.com/user-attachments/assets/eb3f49bc-7445-43fd-b3db-81e36b12be4f)

Even I restart the IDE, it can not display as I expected.

Is it a bug? How can i fix it?

### Language / Project Type / NetBeans Component

_No response_

### How to reproduce

1. Config the TODO annotation style in Tools- Options - Fonts & Colors, press OK.
2. Open the source code with the TODO comments

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Win 11

### JDK

JDK 21

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue from Tools > Options > Fonts & Colors in Apache NetBeans 24 using the TODO annotation steps described. Trace how the configured style is applied when opening source code, including after restarting the IDE. Done means TODO annotations display with the selected style consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.