[Feature] 支持 Maven JavaCC 生成源码在 JDT 项目模型中的导入
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 22/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- java
- Domain
- build-system
Research direction
The payload points to Maven compilation of JavaCC-generated sources (SimpleNode, CCJSqlParser, StreamProvider) not reaching the JDT project model, with no file in the repository named yet. Start by checking how the Java language service imports Maven source roots, then see whether an m2e or JavaCC lifecycle mapping already covers this. Done means the generated sources resolve in JDT, and compile, run and debug work without rewriting the POM.
Written by the indexing model from the issue text.
Description
Problem to solve / 要解决的问题
JSQLParser 3.0 固定源码 05761c552f52f15b6bde2e4a5fb25cb15c9e5791(https://github.com/JSQLParser/JSqlParser/tree/05761c552f52f15b6bde2e4a5fb25cb15c9e5791)在 macOS arm64 / Viva 无头工作台、真实 Java 插件、JDT LS 1.61、Java 8 中复现:原 POM 不变,Maven compile 成功,补全正常,Run 的 JDT 运行前构建失败。Eclipse problem markers 报 SimpleNode、CCJSqlParser、StreamProvider 无法解析,生成源码没有进入 JDT 的有效源码模型。验证入口仅在隔离副本添加,不把 POM 改写后的结果冒充原配置可用。
Proposed solution / 建议方案
优先核验 m2e / JavaCC 官方生命周期映射或可分发连接器,把生成源码模型交给成熟上游。修复后验证 Maven 生成、JDT 更新、补全、运行和断点调试,以及重建/关闭后的资源清理。不能跳过 JDT 构建错误启动旧 class,也不能在宿主重新维护 JavaCC 源码根规则。
Target platform / 目标平台
Cross-platform / 跨平台
Area / 模块
Language support / 语言服务
Priority / 优先级
P1 / 尽快处理:使用体验大幅下降,但通常仍可继续使用
Alternatives considered / 已考虑的替代方案
保留明确的编译失败和插件日志,外部构建可用但当前 Run/Debug 不完整。重写插件外壳本身不会自动修复上游项目模型差异,需要先验证成熟连接器或上游修复的成本。
Additional context / 补充信息
2026-11-13 本地稳定性矩阵发现;当前仅 macOS 实测,Windows 是待覆盖目标,并未声称已复现。JDT 1.63 与配套 Java 25 的隔离试验尚未提供这些项目的修复证据,不作为已解决方案。客户端 TestJavaPluginHistoricalProject 可输入固定源码和 API 验证表达式;原始下载源码只读,测试工作区与安装目录分离。
Checklist / 提交前检查
- I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复建议。
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 151
- Avg merge
- 3h 48m
- Merged PRs (30d)
- 571
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 1lck/Lithe-IDEA
-
review: medium
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
1lck/Lithe-IDEA#2432 ·
Maintainers usually reply within 1 day
-
review: medium
Difficulty 1/5 Under an hour Newbie friendliness 82/100
1lck/Lithe-IDEA#2431 ·
Maintainers usually reply within 1 day
-
refactor review: high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
1lck/Lithe-IDEA#2376 ·
Maintainers usually reply within 1 day
-
area:ui enhancement P2 platform:cross-platform refactor review: high
Difficulty 1/5 Under an hour Newbie friendliness 84/100
1lck/Lithe-IDEA#2365 ·
Maintainers usually reply within 1 day
-
review: medium
Difficulty 3/5 1-2 days Newbie friendliness 57/100
1lck/Lithe-IDEA#2434 ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
rel: fix
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Deltares/fews-web-oc#2400 ·
Maintainers usually reply within 1 day
-
Command bar: Tab-to-search on claude.ai falls back to Google site: search instead of opening a prompt on ClaudePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ardia-browser/ardia#4426 ·
Maintainers usually reply within 1 day
-
Bug report: isValidISODateDashOnly accepts text before or after the date-timePossibly taken @bardrop claimed this today. Open
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
pnp/cli-microsoft365#7713 ·
Maintainers usually reply within 1 day
-
Diagram: Journey Type: Bug / Error
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
mermaid-js/mermaid-v13#1293 ·
Maintainers usually reply within 1 day