Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20512

Hitting enter next to an FTL constructs doesn't indent the line


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.4.1.AM3
    • 4.3.0.Beta2
    • freemarker
    • None

      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.

            alexeykazakov Alexey Kazakov
            ddekany Daniel Dekany (Inactive)
            0 Vote for this issue
            2 Start watching this issue