apache / apache/netbeans

Lesscss Code Folds not working

Open
#8,944 1 comment 0 reactions 0 assignees View on GitHub
CSS Editor 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 27

### What happened

When creating named contexes for less css mixin functions the code editor does not interpret the file correctly and subsequintly renders codefolds incorreclty.

### Language / Project Type / NetBeans Component

PHP Project

### How to reproduce

Image

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

No / Don't know

### Operating System

Windows 10 Enterprise Build 19045 (x64)

### JDK

JDK 24 - Default with Netbeans 27

### Apache NetBeans packaging

Apache NetBeans platform

### Anything else

The broken code folds happen every time the .less file is opened.

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

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in Apache NetBeans 27 on Windows 10 with a .less file containing named contexts for mixin functions, then trace the editor's code-folding behavior. Done means reopening the file consistently produces correct folds around the LESS mixins.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.