Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 463590 - [formatter] Extra indentation for comments in switch case
Summary: [formatter] Extra indentation for comments in switch case
Status: VERIFIED DUPLICATE of bug 458208
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 124622 (view as bug list)
Depends on:
Blocks: 458208
  Show dependency tree
 
Reported: 2015-03-31 09:52 EDT by Noopur Gupta CLA
Modified: 2016-01-08 18:42 EST (History)
3 users (show)

See Also:


Attachments
File - for built-in formatter profile - indents comments in switch-case (488 bytes, text/x-java-source)
2015-03-31 09:52 EDT, Noopur Gupta CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Noopur Gupta CLA 2015-03-31 09:52:49 EDT
Created attachment 252039 [details]
File - for built-in formatter profile - indents comments in switch-case

In the attached file, apply formatter with built-in formatter profile. The comments in switch-case are unnecessarily indented.
Comment 1 Mateusz Matela CLA 2015-04-01 16:45:47 EDT
I have a fix for this and I planned to upload it with other fixes for bug 458208, after bug 462945 is pushed in. I guess it would be a bit easier for me and cause less spamming in copyright notes than handling each issue in a separate bug.
Let me know what you prefer.
Comment 2 Manoj N Palat CLA 2015-05-26 01:59:40 EDT
Fixed as per bug 458208 comment 27

*** This bug has been marked as a duplicate of bug 458208 ***
Comment 3 Manoj N Palat CLA 2015-05-26 02:38:30 EDT
Verified for Eclipse Mars 4.5 RC3 Build id: I20150525-2000
Comment 4 Mateusz Matela CLA 2016-01-08 18:42:33 EST
*** Bug 124622 has been marked as a duplicate of this bug. ***