apache / apache/netbeans

Code folding settings not working

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

Description

### Apache NetBeans version

Apache NetBeans 28

### What happened

The code folding preview option is not working as expected.
Even if Content Preview is unchecked, code folding still opening preview.

Image

There is other bug that editor insists on unfold my code automatically, while still folded and i just moved the mouse around editor.

### Language / Project Type / NetBeans Component

_No response_

### How to reproduce

Uncheck Content preview.
After fold the code in editor, code can be previewed.

Image

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

No / Don't know

### Operating System

Arch Linux

### JDK

OpenJDK 25

### Apache NetBeans packaging

Other

### Anything else

The Netbenas IDE was installed from archlinux repository, in it'28.1 version

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

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the NetBeans editor with Content Preview unchecked and a folded code block. Check both whether the folding preview still appears and whether moving the mouse unfolds code; done means the disabled preview stays hidden and folded code remains folded.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.