apache / apache/netbeans

Improve tabulator expansion

Open
#8,619 1 comment 0 reactions 0 assignees View on GitHub
kind:feature needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

If you press tabulator in value of text variables and enable expanding tab to spaces in Options -> Editor -> Formatting -> ... enable "Expand Tabs to Spaces" then number of spaces is not a same as for normal indention. That is probably bug, but I prefer to be there in "Option formatting" one more option to use escape sequence for tabulator if context enable.

### Use case/motivation

It is even clear and more readable.

### Related issues

_No response_

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

No

Contributor guide

Open the contributing guide

Research direction

Start in NetBeans at Options → Editor → Formatting and reproduce tab insertion in a text variable with “Expand Tabs to Spaces” enabled, comparing it with normal indentation. Trace the editor formatting behavior and clarify whether the goal is matching indentation width, an escape-sequence option, or both; done means the selected behavior is consistent and covered by an appropriate editor test.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.