Code template: line selection not considered correctly
The
def
template might be more useful if the selected lines were used to create the method, probably adding ${line_selection}
before ${cursor}
might be a useful improvement.
Leave a comment
on 2015-07-17 18:39 *
By Simon Schäfer
Replace Application with App in code template
The second part of the ticket could not yet be fixed. Our template
engine does not correctly replace the `${line_selection}` part. It inserts
the selected code but does not remove the selection, which leads to a
duplicated code section.
Re #1002503
Branch: master
Commit: scala-ide:552785c4d8
The second part of the ticket could not yet be fixed. Our template
engine does not correctly replace the `${line_selection}` part. It inserts
the selected code but does not remove the selection, which leads to a
duplicated code section.
Re #1002503
Branch: master
Commit: scala-ide:552785c4d8
on 2015-07-20 16:14 *
By Simon Schäfer
Summary changed from Code template: Application / def to Code template: line selection not considered correctly
Priority changed from Lowest (5) to Normal (3)
Description changed from In the code template the <c... to The <code>def</code> templa...
Assigned to changed from Simon Schäfer to -none-
Deassigning, after fixing one part of the ticket. The second part is more difficult and lower priority right now.