Summary: | [preferences] Add new 'code formatter' options to disable formatting of line/block comments starting on first column | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Frederic Fusier <frederic_fusier> | ||||||
Component: | UI | Assignee: | Markus Keller <markus.kell.r> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | deepakazad, markus.kell.r, Olivier_Thomann | ||||||
Version: | 3.6 | ||||||||
Target Milestone: | 3.6 M6 | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Bug Depends on: | 251133 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Frederic Fusier
2010-02-26 11:09:01 EST
Created attachment 160325 [details]
Proposed rough patch
This patch adds two check boxes in the 'General settings' group in
the 'Comments' tab of the formatter preference page.
I tried to implement the corresponding UI behavior to make the corresponding indentation check-box dependent of the format check-box. It seems to roughly work but I got some trouble with the initialization, hence this patch surely needs a little bit more work to be finalized...
However, I hope this helps a little bit :-)
I'll probably create a new 'Line comment settings' group and move the 4 checkboxes to their groups. Created attachment 160608 [details] Patch 2 UI for bug 251133 comment 12 (dependency for new option temporarily disabled). Forgot to close this bug, has been released yesterday. Verified with I20100308-1300 for 3.6 M6. |