Skip to content

Inconsistent list of suggestions when trying to complete List.with #411

@mauromol

Description

@mauromol

Consider the following:

package test17
class Test17 {
	void foo() {
		new List()|
	}
}

Now, suppose the cursor is at "|" and start to type "." (dot): the code assist suggestion list is shown. Start to type "wi" and look at the suggestion list: eachWithIndex(Closure) is shown before with(Closure). This is unexpected and it's the cause of a lot of typing errors while coding.
In particular, see the difference when starting code assist in these different ways:
new List().| (and then type "wi")
vs
new List().wi|

In the second case eachWithIndex(Closure) is not even shown!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions