Bug 563125 - [formatter] Option to not indent if statement after else - UI
Summary: [formatter] Option to not indent if statement after else - UI
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.15   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: misterti misterti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 563098
Blocks:
  Show dependency tree
 
Reported: 2020-05-13 08:10 EDT by misterti misterti CLA
Modified: 2020-05-18 03:56 EDT (History)
1 user (show)

See Also:


Attachments
JDT UI Patch (4.11 KB, patch)
2020-05-13 08:11 EDT, misterti misterti CLA
no flags Details | Diff
JDT Core patch (6.57 KB, patch)
2020-05-13 08:11 EDT, misterti misterti CLA
no flags Details | Diff
JDT UI Patch (5.04 KB, patch)
2020-05-15 03:07 EDT, misterti misterti CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description misterti misterti CLA 2020-05-13 08:10:08 EDT
JDT feature patch for Code Formater

I added a feature to Java Code Formatter options, which makes "if" after "else" on the next line to keep same indendtation.

There are two patches for this feature:
- core patch, logic
- ui patch, option presentation in Java Code Formatter Preferences window
Comment 1 misterti misterti CLA 2020-05-13 08:11:05 EDT
Created attachment 282817 [details]
JDT UI Patch
Comment 2 misterti misterti CLA 2020-05-13 08:11:27 EDT
Created attachment 282818 [details]
JDT Core patch
Comment 3 misterti misterti CLA 2020-05-15 03:07:12 EDT
Created attachment 282862 [details]
JDT UI Patch
Comment 4 Eclipse Genie CLA 2020-05-18 03:56:11 EDT
New Gerrit change created: https://git.eclipse.org/r/163167