Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested auto completion does not work with records #117

Closed
packowitz opened this issue Nov 29, 2022 · 1 comment · Fixed by #128
Closed

Nested auto completion does not work with records #117

packowitz opened this issue Nov 29, 2022 · 1 comment · Fixed by #128
Labels
Milestone

Comments

@packowitz
Copy link

Auto completion seem to have problems with records.

Example:

class Class1 {
  String field1;
  Integer number1;
}
class Class2 {
  String field2;
  Integer number2;
}
record Wrapper (
  Class1 first;
  Class2 second;
) {}

@Mapping(target = "something", source = "wrapper.first.number1")
Something map(Wrapper wrapper)

In the source the plugin is able to auto complete when typing everything that comes directly after wrapper.. So first can be completed but everything after first cannot get completed.

@filiphr filiphr added the bug label Nov 29, 2022
@filiphr filiphr added this to the 1.4.1 milestone Nov 29, 2022
@filiphr filiphr changed the title Auto completion do not work with records Nested auto completion does not work with records Nov 29, 2022
@filiphr
Copy link
Member

filiphr commented Nov 29, 2022

Thanks @packowitz. We are going to investigate this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants