| Summary: | Move final location of cursor in generated [for/], [if/] and so on | ||
|---|---|---|---|
| Product: | [Modeling] Acceleo | Reporter: | Stéphane Thibaudeau <stephane.thibaudeau> |
| Component: | Core | Assignee: | Project Inbox <acceleo-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | stephane.begaudeau |
| Version: | 3.0.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Some changes have been made to improve the available locations for the cursor with tabulation for: - let - if - for - file - template The fix has been contributed on HEAD, it will be available in Acceleo 3.1.0 M7. |
When using autocompletion to generate a [for/] construct for example, the generated code looks like the following : [for (it : Type | expression)] [/for] Using the "TAB" key several times, one can highlight the iteration variable name, then its type, then the expression and finally the cursor is placed right after the "[/for]" statement. It would be useful if the last location of cursor were inside the [for/] statement. One could then start to type the statement without having to move the cursor there. [for (it : Type | expression)] {final location} [/for] Same enhancement stands for other statements : [if/], [let/], [template/], [query/] and so on.