| Summary: | [formatter/Comments] Formatting around Comments | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Manuel Hess <hessmanuel> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | hessmanuel, knut.wannheden, lieven.lemiengre, mark.g.j.christiaens, moritz.eysholdt |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Manuel Hess
This (or a very similar) problem also applies to before() directives. If I for instance format the following Domainmodel example:
package foo00 { // NOTE THIS SL_COMMENT
entity Foo00 {
name : foo10.FOO10
}
}
I end up with:
package foo00 { // NOTE THIS SL_COMMENT
entity Foo00 {
name : foo10.FOO10
}
}
Whereas the same example without the SL_COMMENT remains unchanged after formatting.
Note: This was tested against Xtext 2.0 HEAD.
won't fix because it affects the old formatter infrastructure |