Autoformat ignores tabsize preference
Open
Component: IDE user interface
Type: Bug
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
I have `editor.tabs.size=4` in my preferences.txt which works fine if I hit but the autoformatter (cmd+T on OSX) ignores this setting and uses 2 spaces instead.
Verified this bug on both 1.6.8 and 1.6.9
Contributor guide
Research direction
Reproduce the issue in Arduino IDE 1.x on OSX with editor.tabs.size=4, then invoke autoformat with cmd+T and compare it with inserting a tab. Trace the autoformatter and preference handling; done means autoformat uses the configured tab size rather than always producing two spaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop-dev, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100