Summary: | Eclipse Clean-up "use blocks in if/while/for/do statements" does not work | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Juris Sudmalis <jurchiks101> |
Component: | Core | Assignee: | Stephan Herrmann <stephan.herrmann> |
Status: | VERIFIED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | srikanth_sankaran, stephan.herrmann |
Version: | 3.7.1 | ||
Target Milestone: | 3.8 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Juris Sudmalis
2011-12-29 12:54:17 EST
Please note the difference between formatting and Clean Ups. Formatting only changes white space, whereas clean ups may also modify the actual code, which is what you need for adding braces. Can you please confirm that "Source > Clean Up ..." works as expected? Ahh... So the Additional save actions in Editor>Save Actions are not the same as Clean Up preferences... That is weird tbh. Yes, it works. If it is possible, I would suggest adding a drop-down list of clean-up profiles when selecting the Additional save actions. Otherwise, as you can see, it can get confusing. (In reply to comment #2) > Ahh... So the Additional save actions in Editor>Save Actions are not the same > as Clean Up preferences... That is weird tbh. > > Yes, it works. Thanks, based on this I'm closing the bug as invalid. (In reply to comment #3) > If it is possible, I would suggest adding a drop-down list of clean-up profiles > when selecting the Additional save actions. Otherwise, as you can see, it can > get confusing. Please feel free to chime in on bug 178429 which seems to cover your suggestions. Verified by submitter in comment# 2 |