Skip to content

Dollars in argument identifiers confuse tab completion #533

@Aurel300

Description

@Aurel300

Starting with:

function foo(a: Int, b$1: Int): Int
method bar() {
    
}

Typing foo inside the method will (correctly) suggest the foo function for tab completion. Accepting the suggestion, we end up with two cursors:

function foo(a: Int, b$1: Int): Int
method bar() {
    foo(<a>, b<a>)
}

The expected behaviour is that only the first argument is selected, then tab would bring us to the second. However, somewhere along the line $1 gets interpreted as a special character, perhaps it needs to be escaped?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions