Skip to content

Fix content assist for DSLD method with SAM type as last param and '{' as trigger character #650

@eric-milles

Description

@eric-milles

Content assist for Arrays.sor| yields Arrays.sort(null) { o1, o2 -> } if sort(Object[] a, Comparator c) is triggered with '{' key. Similar replacement is not made for DSLD method contribution.

contribute(currentType()) {
  method name: 'foo', params: [bar: Comparator]
}

foo| is inserting nothing and moving the cursor forward in case of '{' trigger.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions