Skip to content

Missing field, method, property proposals within constructor call expression #717

@eric-milles

Description

@eric-milles

Fixes for #331 and #409 have disabled some content assist proposals in the following cases:

def list = new ArrayList(a, b) // invoke content assist after "a" or "b" and no fields or methods starting with that prefix are proposed.  Only types, packages and the constructor signatures are offered up.
class Foo {
  String bar
  String baz
}
def foo = new Foo(bar: b) // invoke content assist after "b" and no fields, ...

Question: Once ctor call expr includes named parameters, should content assist within the names still propose fields, methods and properties? Or should it just show method context proposals (i.e. constructor signatures and named arguments)?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions