This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Scenario: - Open Options tab - Select Editor|Formatting tab - Select Apache style - Set Indent Syze = 10 - Select NetBeans style again - Press OK button - Create C++ project with such code: int main() { if (true) { if (true) { if (true) { if (true) { if (true) { if (true) { if (true) { if (true) { if (true) { if (true) { } } } } } } } } } } return 0; } - Open Project Properties window - Select Formatting category - Select "Use project specific formatting style" = Apache (or "Use clang-format" = LLVM) - Press OK button - Reformat file ==> 1) I see "indent lines" (vertical lines) every 4 columns (instead of 10) 2) Alt-Shift-LeftArrow and Alt-Shift-RightArrow moves code on 4 columns (instead of 10)