No Code completions anymore?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- developer-experience, tooling
Research direction
No repository files, tests, or entry points are named. Reproduce the example in Eclipse 2023-09 with MapStruct Tools 0.1.0.201701192129, inspect the reported error log, and compare completion behavior with non-blocking completions enabled and disabled. Done means @Mapping code completions work for the supplied mapper example.
Written by the indexing model from the issue text.
Description
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; }
}
- Dominant language
- Java
- Stars
- 12
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mapstruct/mapstruct-eclipse
-
help wanted
Difficulty 5/5 Over a week Newbie friendliness 25/100
mapstruct/mapstruct-eclipse#49 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
mapstruct/mapstruct-eclipse#41 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
All issues in mapstruct/mapstruct-eclipse
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
elastic/gradle-plugins#157 ·
-
enhancement Tools
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
apache/rocketmq-dashboard#5008 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
DETECT_PARAMETER_NAMES=false silently disables @ConstructorProperties-based Creator detection too Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
FasterXML/jackson-databind#6229 ·