]
Daniel Dekany commented on JBIDE-20512:
---------------------------------------
Can someone merge this? Sending the PR for JBIDE-22749 requires this (also there's an
approaching code freeze).
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: Denis Golovin
Fix For: 4.4.x
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.