[jbosstools-issues] [JBoss JIRA] (JBIDE-20512) Hitting enter next to an FTL constructs doesn't indent the line
Daniel Dekany (JIRA)
issues at jboss.org
Thu Jul 21 03:15:02 EDT 2016
[ https://issues.jboss.org/browse/JBIDE-20512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268504#comment-13268504 ]
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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list