| Summary: | [devel] use correct indentation clean-up? | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Knut Wannheden <knut.wannheden> |
| Component: | Xtext Backlog | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P5 | CC: | moritz.eysholdt, sebastian.zarnekow, sven.efftinge |
| Version: | 1.0.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Knut Wannheden
how about... 1. configuring the java formatter so that it produces acceptable results for as may scenarios as possible. 2. enable comment-based on/off tags for the formatter as described here: http://download.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/eclipse-news-part2.html#JavaFormatter This allows to disable the formatter locally for certain regions of the code. 3. use the on/off-tags to disable the formatter for places where it messes up the code. 4. commit the formatting config to git 5. run the formatter on all files After doing this one could always run the formatter on a complete file without worrying about messing up some someone else's formatting an producing a noisy git-changeset. I think we need to try in order to find out. Closing due to inactivity. Although homogenous formatting is desirable this would mess up quite a lot of code. Moving to backlog. |