Skip to content

Closing curly bracket and cursor position inside tag based cfc <cfscript> block is indented one tabstop to the left of where it should be #66

Open
@joshwines

Description

@joshwines

Only happening inside tag based CFCs. Fully scripted CFCs and <cfscript> blocks in .cfm files are good.

Given the following code, '|' being the cursor position:

<cffunction>
    <cfscript>
        if (a == b)
        {|}
    </cfscript>
</cffunction>

Hitting enter comes out like:

<cffunction>
    <cfscript>
        if (a == b)
        {
        |
    }
    </cfscript>
</cffunction>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions