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

No Code completions anymore? #50

Open
JanecekPetr opened this issue Nov 21, 2023 · 1 comment
Open

No Code completions anymore? #50

JanecekPetr opened this issue Nov 21, 2023 · 1 comment

Comments

@JanecekPetr
Copy link

I'm hesitant to post this as issues like this tend to be a misconfig somewhere...

I'm no longer getting any code completions at all from MapStruct. I initially thought this was because we used records almost exclusively everywhere, but now I tried to create a simple POJO and that offers no code completions for @Mapping either.

Eclipse 2023-09, MapStruct Tools 0.1.0.201701192129. The error log seems clear. Enabling or disabling "Enable non-blocking completions" makes no difference.

Example code:

@Mapper
public interface AhaMapper {
    @Mapping(target = "name", source = "name2")
    Aha fromDto2(Aha2 ahaaa);
}

public static class Aha {
    private final String name;

    public Aha(String name) {
        this.name = name;
    }

    public String getName() { return name; }
}

public static class Aha2 {
    private final String name2;

    public Aha2(String name2) {
        this.name2 = name2;
    }

    public String getName2() { return name2; }
}
@filiphr
Copy link
Member

filiphr commented Nov 26, 2023

Seems like we need to dust this off a bit. This seems related to #49. Will try to find some time to fix this. I personally don't use Eclipse, so it has slipped a bit

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

No branches or pull requests

2 participants