Skip to content

No code assist on map-style constructor call for property values #409

@mauromol

Description

@mauromol

Consider the following:

package test16;
public class MyBean {
	private String foo;
	private String bar;
	public String getFoo() {
		return foo;
	}
	public String getBar() {
		return bar;
	}
}

And the following Groovy class:

package test16
class Test16 {
  void doSomething() {
	  def bean1 = new MyBean()
	  def bean2 = new MyBean(foo: bea|)
  }
}

Invoke code assist at "|", with the purpose of writing bean1.foo: as you can see, no proposal is shown, apart from generic proposals for class names.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions