mapstruct / mapstruct/mapstruct-eclipse
No Code completions anymore?
還沒有人認領這個 Issue。
- 主要語言
- Java
- 星號
- 12
- 分支
- 10
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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; }
}
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
未指定任何 repository 檔案、測試或進入點。在 Eclipse 2023-09 中使用 MapStruct Tools 0.1.0.201701192129 重現該範例,檢查回報的錯誤記錄,並比較啟用與停用非阻塞補全時的補全行為。當 @Mapping 程式碼補全能夠用於所提供的 mapper 範例時,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- developer-experience, tooling
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100