| Summary: | [xtext][editor] conditional auto edit for ':' | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Knut Wannheden <knut.wannheden> |
| Component: | Xtext | Assignee: | Jan Koehnlein <jan> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jan, sebastian.zarnekow, tmf.xtext-inbox |
| Version: | 2.0.0 | Flags: | sebastian.zarnekow:
indigo+
|
| Target Milestone: | SR2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed in HEAD. Please try it and reopen if I missed something essential. Startegy looks for a single colon and a "returns" in the same rule before the current offset. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
The auto edit for ':' in the Xtext editor should only append a ';' when the colon represents the "rule separator" and not when it is used as a namespace delimiter in a type reference. When a ':' is typed in "{ecore|}" you end up with {ecore::|;;}.