apache / apache/netbeans

On new installation, C/C++ Fonts and Colors are grey

Open
#9,232 5 comments 0 reactions 0 assignees View on GitHub
C/C++ kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 29

### What happened

After re-opening a C++ project the source/header file code was grey in all displayed text, including comments, keywords, brackets, ... . Previous color settings not retained.

Tools->Options->Fonts & Colors
1. All Languages does not list C/C++
2. Default options are good but not applied
3. Changing comments from green to orange caused defaults to be seen

### Language / Project Type / NetBeans Component

C/C++

### How to reproduce

1. Install NB 29
2. Open NB 29
3. Re-open a C++ project
4. Display a header/C++ file

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

Apache NetBeans 26

### Operating System

Windows 11-64 Professional

### JDK

JDK 25

### Apache NetBeans packaging

Community provided installer

### Anything else

It seems that setting for current (NB 26) installation are not recovered when NB 29 is installed.

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

No

Contributor guide

Open the contributing guide

Research direction

Start in the Fonts & Colors options and C/C++ project reopening flow, comparing how settings are recovered between NetBeans 26 and 29. Reproduce on Windows 11 with JDK 25 using the listed steps; done means C/C++ appears under All Languages and default or customized colors are applied after reopening the project.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp
Domain
tooling
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.