]
Alexey Kazakov reassigned JBIDE-20512:
--------------------------------------
Fix Version/s: 4.4.1.AM3
(was: 4.4.x)
Assignee: Alexey Kazakov (was: Denis Golovin)
Resolution: Done
Hitting enter next to an FTL constructs doesn't indent the line
---------------------------------------------------------------
Key: JBIDE-20512
URL:
https://issues.jboss.org/browse/JBIDE-20512
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: freemarker
Affects Versions: 4.3.0.Beta2
Reporter: Daniel Dekany
Assignee: Alexey Kazakov
Fix For: 4.4.1.AM3
When hitting enter when the cursor only has plain text next to it, the newly started line
copies its indentation as expected. But if the cursor is directly before or after an FTL
construct ({{$\{x\}}}, {{<#assign x = 1>}}, etc.) then after hitting enter the
indentation will be 0. The most common case of running into this is hitting enter after an
indented newly entered FTL construct, as then you will have to indent manually before you
start typing the next line.