Skip to content

Fix content assist for method with Closure as last param and '{' as trigger character #633

@eric-milles

Description

@eric-milles

Assuming Java Content Assist preference "Fill method arguments and show guessed arguments" is unchecked:

When a content assist proposal with a trailing closure -- like collect(Closure transform) -- is triggered with the { character, the current replacement is collect() {|, where | is the cursor position after insertion. To be consistent with other content assist modes, the replacement should be collect { | }.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions