René's URL Explorer Experiment


Title: feat(java): 识别 Eclipse WTP、IntelliJ IDEA 与传统 Web 工程模型 by 1lck · Pull Request #22 · Lithe-IDEA/lithe-plugin-java · GitHub

Open Graph Title: feat(java): 识别 Eclipse WTP、IntelliJ IDEA 与传统 Web 工程模型 by 1lck · Pull Request #22 · Lithe-IDEA/lithe-plugin-java

X Title: feat(java): 识别 Eclipse WTP、IntelliJ IDEA 与传统 Web 工程模型 by 1lck · Pull Request #22 · Lithe-IDEA/lithe-plugin-java

Description: 关联 Issue / Linked issue Closes 1lck/Lithe-IDEA#2063 PR 类型 / Type feat:新功能或用户可见的改进 fix:缺陷修复 docs:文档、Agent Note、Skill 等规则文件 release:稳定版发布准备 改动说明 / What changes 背景 / Why 没有 Maven/Gradle 的老 J2EE 项目、Eclipse WTP/MyEclipse 项目和 IntelliJ IDEA 项目,在 Lithe 里打开后类路径不全: JDT LS 不认识 WTP 的 kind="con" 容器(Web App Libraries、Server Runtime 等),报 “Unbound classpath container”,整个项目无法构建; 只有 WEB-INF/lib 的目录、IDEA 的 .iml 和 .idea/libraries 都被当成普通文件夹,库和非标准源码根全部丢失; javax.servlet 没有任何来源。 本 PR 让插件只读识别这些工程模型,在内存中补全类路径。项目文件不改,Maven/Gradle 仍然是最高优先级。 改动 / Changes JDT LS 扩展包(新增 jdtls-extension/project-model/) classpathContainerInitializer 负责解析以下容器: org.eclipse.jst.j2ee.internal.web.container(WEB-INF/lib 和组件文件里部署到 /WEB-INF/lib 的工具模块); org.eclipse.jst.j2ee.internal.module.container(引用本模块的 EAR 的库目录、application.xml 的 library-directory、MANIFEST Class-Path); org.eclipse.jst.server.core.container; MyEclipse J2EE 1.3/1.4 与 Java EE 5/6/7 库、com.genuitec.runtime.library。 classpathVariableInitializer 提供 TOMCAT_HOME 和 CATALINA_HOME。 设置项 java.lithe.projectModel(开关和 Servlet 容器)从 JDT 偏好读取;偏好变化或项目文件变化(JAR、组件文件、.mymetadata、application.xml、MANIFEST.MF)时,有延迟地重新计算容器。 容器只放在 JDT 内存里,不写 .classpath。 命令 lithe.java.projectModel.describe 返回每个容器、变量和缺失库的解析状态,有数量上限。 XML 解析禁用外部 DTD 和实体,单个文件最多 1 MiB。 后端 backend/src/project_model/(新增) scan.rs:一次有界的广度优先扫描(深度 6、最多 20,000 个条目,每类最多 256 项),跳过隐藏目录和构建输出目录。 idea.rs:读取 .idea/modules.xml 或 .ipr,以及各模块的 .iml: 生产和测试源码根,跳过资源目录; 模块库、项目库、jarDirectory、Web facet; 展开 $MODULE_DIR$、$PROJECT_DIR$、$USER_HOME$、$MAVEN_REPOSITORY$; 以下情况记为未解析并写明原因:应用库、全局库、未知宏、类文件夹、文件缺失、源码根在工作区外。 web.rs:读取 WEB-INF/lib、EAR 库目录、MANIFEST Class-Path(支持续行),并识别 web.xml 的 javax/jakarta 命名空间。 eclipse.rs:识别需要 Servlet 容器的容器和变量,以及 Eclipse 用户库(无法解析,列为未解析)。 servlet.rs:按优先级选择 Servlet 容器: 设置项;目录无效时报错,不回退; CATALINA_HOME/TOMCAT_HOME; 常见安装位置(Homebrew、/usr/local、/opt、/Library、/usr/share、Windows Program Files、C:\、用户主目录)。 优先选项目点名的大版本,其次是命名空间匹配的,再次是最新的。 mod.rs: 识别顺序:Maven/Gradle → Eclipse → IDEA → 传统 Web/EAR → 普通文件夹。 叠加规则:显式值在前,再追加识别结果,保留 exclude 和 sources;没有显式值时保留上游默认的 lib/**。sourcePaths 有显式值时用显式值,否则用 IDEA 的值。 只推送与默认值不同的键:JDT 每次推送都会重建偏好,所以缺省的键就是默认值,现有推送内容不变。 后端接线 launch.rs: 解析新设置;把扩展包目录加入 EXTENSION_BUNDLE_DIRECTORIES 和 PACKAGE_LAYOUT; 启动时记录降级诊断 launch.servlet_container_missing、launch.project_model_unresolved、launch.project_model_truncated,均登记在 LAUNCH_CATEGORIES。 settings_session.rs:每个工作区保存启动时的 ModelOptions。之后的每次推送和设置页读取都用同一组选项,推送不会撤销启动时的配置。 project_settings.rs: native_settings 叠加工程模型; 打开“Java 库”页时调用 describe 命令;如果 JDT LS 太旧、没有这个命令,就只显示后端识别的结果; 保存时逐个字段处理:库 → 源码文件夹 → “保存识别结果”。之前只要缺少 libraries 字段就会失败,现在每个字段都可以单独保存。 library_settings.rs(新增),负责“Java 库”页的投影: 普通文件夹:在“引用的 JAR 文件”中标出包含的识别项数;新增“源码文件夹”(java.project.sourcePaths,继承值来自 IDEA);新增“将识别结果保存到此文件”,只写可移植的条目,不写本机的 Servlet 容器路径。 Eclipse .classpath:生效来源中列出各容器的解析结果。 只读分组“工程模型”:模型、识别到的库、IDEA 源码文件夹、Servlet 容器及其来源、Eclipse 容器与变量、未解析条目及原因。它绑定到模型自己的描述文件,同一个 .project 下合并成一个来源。 所有文案中英双语,长度满足契约上限。 清单:版本升到 3.0.1(按发布规则,向后兼容的版本只升 PATCH);新增设置 projectModelDetection(布尔,默认开启)和 servletContainerHome(目录,占位提示“自动查找”),放在“工程模型”分节;补齐中文翻译。 打包与 CI scripts/package/project-model-bundle.mjs(新增): 对照准备好的 JDT LS 1.61.0,以 --release 17 -Werror 编译; 用固定日期打包,产物可复现; 要求 javac 21 或更高(JDT LS 的类文件版本是 65),版本不够时直接报错,并说明 JAVA_HOME/LITHE_JAVAC。 assemble-package.sh、build-linux.mjs、build-windows.mjs 都会构建扩展包;verify-package.sh 和 repository_pins.rs 校验它在包内。 release.yml:macOS 发布任务在打包前安装 Temurin 21,原因同上。 ci.yml: macOS 的 setup-java 移到打包之前,因为打包时需要 javac; macOS 和 Linux 各新增一步 test-project-models.mjs,Linux 用解压后的发布包运行。 测试 新增 Rust 单元测试,覆盖扫描、IDEA、Web、Eclipse、Servlet 选择、叠加规则、选项解析、设置页投影与保存。 scripts/compiler/test-project-models.mjs(新增):使用打好的包和真实 JDT LS,跑三个场景: eclipse-wtp:WTP、Server Runtime 和 TOMCAT_HOME; legacy-web:只有 WEB-INF/lib; idea:非标准源码根,加模块库和项目库。 每个场景都要求:java/buildWorkspace 返回 1,demo/Hello.class 生成,设置页内容正确,项目文件不变,插件包和 JDT LS 安装目录不变。 legacy-web 场景还会通过设置页保存识别结果,再从文件重新编译。 文档:新增 docs/project-models.md(识别顺序、补充内容、Servlet 容器、设置页、扩展包的构建、加载和生命周期、验证方法)和 docs/releases/v3.0.1.md(中英);更新 docs/native-settings.md、docs/feature-matrix.md(新增“旧式与跨 IDE 工程模型”一节)和 README。 不在本 PR 范围内 / Out of scope IDEA 的应用库和全局库、只有 IDEA 知道的路径变量、Eclipse 用户库都保存在 IDE 自己的配置里,项目内读不到。这些条目在设置页逐项列出原因,引导用户手动添加 JAR,不去读 IDE 的全局配置。 类文件夹形式的库:JDT 的 referencedLibraries 只接受 JAR,所以列为未解析。 Maven 场景没有加真实 JDT 回归测试,因为 m2e 导入需要联网解析插件,在 CI 上不稳定。Maven/Gradle 优先、不做任何叠加,由单元测试覆盖。 类型专属:feat 多平台对齐 两端都具备:识别逻辑在跨平台的 Rust 后端;扩展包是纯 Java;macOS、Windows、Linux 三个打包入口都会构建它。Windows 安装位置(Program Files、C:\)和路径宏已经覆盖。Windows 实机验证见下文“未能执行的检查”。 范围检查 / Scope checks 功能矩阵 / Feature matrix N/A:这是插件能力,不在宿主矩阵中建条目;插件仓库的 docs/feature-matrix.md 已新增一节,其中 Windows 和 Linux 记为 pending。 插件归属 / Plugin ownership 全部改动都在插件仓库,宿主和 Core 不需要任何修改 测试只使用测试中生成的合成项目和假 Tomcat,不依赖任何其他插件 [N/A] 宿主功能矩阵:插件能力,没有宿主条目 插件文案在插件自己的 plugin.json、l10n/zh-Hans.json 和后端里,没有写进 shared/i18n/ [N/A] 通用扩展点:没有修改 UI 验证 / UI evidence 用宿主的 Viva 无头窗口渲染:scripts/compiler/visual.mjs 以 overlay 方式运行 TestPluginNativeSourceVisual(标签 vivahead lithevisual),共 20 张截图,覆盖编译器页、Java 设置页,以及 Eclipse WTP、传统 Web、IDEA 三个场景的“Java 库”页,每页都有中英文、明暗主题。投影是 test-project-models.mjs 在真实 JDT LS 1.61.0 上读出的结果,不是手写数据。 截图过程中发现宿主把只读列表渲染成单行并截断,只读字段下还显示禁用的“重置”。这是宿主的缺陷,已在宿主修复:1lck/Lithe-IDEA#2081(附回归测试,修复前失败、修复后通过)。下面的截图使用该分支的宿主渲染;没有这个修复时,插件功能本身照常工作,只是列表显示为一行。 Java 设置页(新增“工程模型”分节) Eclipse WTP:容器与变量由扩展包解析 传统 Web:WEB-INF/lib 与 Servlet 容器 IntelliJ IDEA:源码文件夹、模块库、项目库 统一日志系统 / Structured logging 后端沿用 SDK 的降级诊断(report(code, count));三个新类别登记在 LAUNCH_CATEGORIES,现有测试检查错误码互不重复且合法 每次启动只记一次,不在高频路径输出;只记录数量,不记录路径和内容 扩展包的异常只通过 JavaLanguageServerPlugin.logException 写入 JDT LS 自己的日志 [N/A] 旧日志脚本:本仓库没有 界面文案 / i18n [N/A] 宿主共享 i18n:没有宿主文案 插件文案由插件自己翻译:清单设置有中英两份;设置页文案由后端按 context.language 给出中英文 [N/A] 宿主 i18n 脚本:不涉及 逻辑归属 / Logic placement 工程模型知识属于 Java 工具专属,放在插件后端和 JDT LS 扩展包里;宿主和 Core 没有按工具名加分支 [N/A] 平台层可共享逻辑:没有改平台层 性能与内存 / Performance and memory 只在语言服务器启动、推送设置或打开设置页时扫描一次,有深度、条目数、文件大小和数量上限;没有轮询 扩展包只在相关项目文件变化时,延迟 500 ms 重新计算一次;容器结果只保存在 JDT 自己的类路径缓存中 包体积增加一个约 30 KB 的 JAR;没有引入新的运行时依赖 设置 / Settings 两个新设置都有说明,Servlet 容器为空时显示“自动查找”;设置页把实际生效的容器和来源显示为“自动(Apache Tomcat 9.0.98,路径,来自 CATALINA_HOME)” 读取真实来源:.vscode/settings.json、.classpath 和 JDT 的实际生效值;打开页面不写文件,只有点“保存”才写;自动识别的结果默认只在内存里,用户确认后才写入 [N/A] macOS 设置页分类:设置放在已有的 Java 语言页 插件契约 / Plugin contract N/A:只使用已有的契约(settings、sourceSettings: 0、initializationOptions.bundles),没有新增宿主方法。 发行包与资源 / Bundle and resources 扩展包在构建阶段生成,放入插件包;运行时只读取,不下载、不解压、不缓存。插件包和 JDT LS 安装目录在测试前后的完整哈希快照一致;生命周期写在 docs/project-models.md [N/A] 宿主 docs/ci-builds.md:这是插件的构建资源,不属于宿主 无用代码与重构 / Dead code and refactoring 本次改动后没有产生无用代码:native_settings 和 edit_json 已改为通用实现;libraries 字段原来缺失就失败的逻辑已改为可选 没有发现需要单独建单的既有债务 验证 / Verification 命令或操作 平台 结果 cargo fmt --all -- --check、cargo clippy --workspace --all-targets --locked -- -D warnings macOS arm64 通过 cargo test --workspace --locked macOS arm64 通过(backend 125、domain 282、pins 8 等) node --test scripts/package/*.test.mjs、scripts/compiler/process.test.mjs macOS arm64 通过 scripts/build-package.sh --arch arm64(包含扩展包编译和 verify-package.sh) macOS arm64 通过 node scripts/compiler/test-project-models.mjs <包>(JDT LS 1.61.0,JDK 21) macOS arm64 12 个步骤全部通过:三个场景都编译成功,设置页内容正确,项目文件、插件包和 JDT LS 安装目录不变 反向对照:同一测试设置 projectModelDetection:false macOS arm64 三个场景都在 java/buildWorkspace 处失败(返回 2),说明测试确实依赖本功能 node scripts/compiler/test-live.mjs <包>,以及加上 LITHE_JAVA_PROJECT_KIND=eclipse 再跑一次(回归) macOS arm64 通过 node scripts/compiler/visual.mjs <宿主检出>(宿主 1lck/Lithe-IDEA#2081 分支,Viva 无头) macOS arm64 通过,20 张截图(编译器页、Java 设置页、3 个场景 × 中英 × 明暗) 测试结束后 pgrep 检查 jdtls、equinox、backend 进程 macOS arm64 没有残留进程 另外,JDT LS 导入 Eclipse 项目时,会自己在 .project 中加入 filteredResources 资源过滤。这是上游行为,与本插件无关(不加载扩展包时也会写)。测试的“项目文件不变”检查因此排除了 .project,其他所有文件都逐字节比对。 未能执行的检查和原因: Windows 和 Linux 的实机运行:本机是 macOS。Linux 由 CI 上新增的 test-project-models.mjs 步骤验证(Draft 阶段只跑 Linux 任务);Windows 的打包入口已接入扩展包构建,但还没有在虚拟机里实际运行,功能矩阵中如实记为 pending。 CI 的 native-settings-visual 任务固定使用 compiler-host.json 中的宿主修订,修订里还没有 1lck/Lithe-IDEA#2081 的修复。等宿主修复合入后,再升级这个固定修订。 提交前确认 / Final checks 分支从最新的 main(1cab000)创建,目标分支是 main 以 Draft 提交 没有无关改动,没有提交产物、凭据或个人路径 测试启动的 JDT LS 和后端进程已全部关闭 🤖 Generated with Claude Code

Open Graph Description: 关联 Issue / Linked issue Closes 1lck/Lithe-IDEA#2063 PR 类型 / Type feat:新功能或用户可见的改进 fix:缺陷修复 docs:文档、Agent Note、Skill 等规则文件 release:稳定版发布准备 改动说明 / What changes 背景 / Why 没有 Maven/Gradle 的老 J2E...

X Description: 关联 Issue / Linked issue Closes 1lck/Lithe-IDEA#2063 PR 类型 / Type feat:新功能或用户可见的改进 fix:缺陷修复 docs:文档、Agent Note、Skill 等规则文件 release:稳定版发布准备 改动说明 / What changes 背景 / Why 没有 Maven/Gradle 的老 J2E...

Opengraph URL: https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6bcf0dda-61c5-352f-21c9-158db7a81084
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id813E:16B220:8DC7D8:C92417:6B0716CF
html-safe-nonce5b67a9115e9aad84e8980bca9c1ab4091bd7ac55bb07a71cec9278571c3fc954
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTNFOjE2QjIyMDo4REM3RDg6QzkyNDE3OjZCMDcxNkNGIiwidmlzaXRvcl9pZCI6IjUxMjc5NTAyMzMxODc1ODc3OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac80804cec11803755f20aa2d91562ae2f4f2ae26c838c95bba6789b39efc002b7
hovercard-subject-tagpull_request:5351026808
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files
twitter:imagehttps://avatars.githubusercontent.com/u/159525154?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/159525154?s=400&v=4
og:image:alt关联 Issue / Linked issue Closes 1lck/Lithe-IDEA#2063 PR 类型 / Type feat:新功能或用户可见的改进 fix:缺陷修复 docs:文档、Agent Note、Skill 等规则文件 release:稳定版发布准备 改动说明 / What changes 背景 / Why 没有 Maven/Gradle 的老 J2E...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9aaa1abe1aaef39a8543ab08df7a776c3243275815d741d29afa7b02148ca05e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/Lithe-IDEA/lithe-plugin-java git https://github.com/Lithe-IDEA/lithe-plugin-java.git
octolytics-dimension-user_id340144206
octolytics-dimension-user_loginLithe-IDEA
octolytics-dimension-repository_id1446370282
octolytics-dimension-repository_nwoLithe-IDEA/lithe-plugin-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1446370282
octolytics-dimension-repository_network_root_nwoLithe-IDEA/lithe-plugin-java
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release44c43783771de038e2c401dd343799000e8d1253
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2Flithe-plugin-java%2Fpull%2F22%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2Flithe-plugin-java%2Fpull%2F22%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=Lithe-IDEA%2Flithe-plugin-java
Reloadhttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files
Reloadhttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files
Reloadhttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files
Lithe-IDEAhttps://github.com/Lithe-IDEA
lithe-plugin-javahttps://github.com/Lithe-IDEA/lithe-plugin-java
Codehttps://github.com/Lithe-IDEA/lithe-plugin-java
Issues3 (3)https://github.com/Lithe-IDEA/lithe-plugin-java/issues
Pull requests1 (1)https://github.com/Lithe-IDEA/lithe-plugin-java/pulls
Actionshttps://github.com/Lithe-IDEA/lithe-plugin-java/actions
Projectshttps://github.com/Lithe-IDEA/lithe-plugin-java/projects
Security and qualityhttps://github.com/Lithe-IDEA/lithe-plugin-java/security
Insightshttps://github.com/Lithe-IDEA/lithe-plugin-java/insights
Sign up for GitHub https://github.com/signup?return_to=%2FLithe-IDEA%2Flithe-plugin-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FLithe-IDEA%2Flithe-plugin-java%2Fissues%2Fnew%2Fchoose
1lckhttps://github.com/1lck
mainhttps://github.com/Lithe-IDEA/lithe-plugin-java/tree/main
feat/2063-java-project-modelshttps://github.com/Lithe-IDEA/lithe-plugin-java/tree/feat/2063-java-project-models
Conversation 0 https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22
Commits 3 https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/commits
Checks 10 https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/checks
Files changed https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files
feat(java): 识别 Eclipse WTP、IntelliJ IDEA 与传统 Web 工程模型 https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#top
Show all changes 3 commits https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files
1913464 feat(java): 识别 Eclipse WTP、IntelliJ IDEA 与传统 Web 工程模型 1lck Nov 17, 2026 https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/commits/19134643f6397cc68334085fb96da6e9d6adc3b6
4be2aaf test(java): 无头渲染“Java 库”页的工程模型截图 1lck Nov 17, 2026 https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/commits/4be2aaf5b5089fd5c934d77cd92b7f01b9cb5e22
fdd4aa9 release: 版本号改为 3.0.1,发布任务打包前安装 JDK 21 1lck Nov 17, 2026 https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/commits/fdd4aa9a40bb73e7a24694ac9ae24ac762ccb6cb
Clear filters https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files
ci.yml https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
release.yml https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34
README.md https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
launch.rs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
lib.rs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-9cd99344677f61bc58fc3f6c29c3f7e212d40afdb18e489a6250cdb7191ab6a6
library_settings.rs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-279fc23c910af0955b56276fb7b21d6551aa93d9688bcb92205a001b71098824
eclipse.rs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-5346548bbab707fb1c743976968ab6351b8d16d707651d9bf5eb2be3ad4d44d3
idea.rs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-9b2afa1591804e164a6357fa2314d2d87057e5200ffa92de992501992d01771d
mod.rs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-49e5561254d5761764b462f4806dc3d8d51010a66a1f31253e3438361251130a
scan.rs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-54146e8f915627230b8086f9ab134b99ab8ad6bc6e9a6486e69f5d55de6ff35c
servlet.rs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-1a28b41a387cd520ce1b5da1bb542d4d1eedb2d637e2558411348ea60ab278f5
web.rs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-7031dd3bc4dcea59379fb1be988fcd22b0de1eb04e7f1b478dde04902f15e3b1
xml.rs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-884841ee0f7085c6bbb4c8c0b3d4cb6f0ff9386e27773b30ff17e7c2a6b74317
project_settings.rs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-b34809b740740ebc2955d9373f8ad1f0e7b8afd7873295425c11a5dbe5f05c46
settings_session.rs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-9d0c408e05eea2f31c7e7b2cc3d847e7ee6d637026d0b902977c4aa7af8e1fa3
eclipse-wtp-en-dark.png https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-16782332154a9157fc3630d87033ea552a5cefcc5e1d54c2b6960ae3e9f4462a
eclipse-wtp-zh-light.png https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-7bbd1d754b9f5fdb9e6f8362bfca52927308fbac8740779479bfde71b9dd1015
idea-en-dark.png https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-06de9effb7e0780145806f96d8a15f77ec5b9bb85d56a1f3a6469c7ed8676815
idea-zh-light.png https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-dba6cd11a7318c3ee6aced7a0cd265b0824b0caa24f4232367a71aa51be17620
java-settings-zh-light.png https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-34f910df1f1e5dfb9f8b9c47464717f73c14d3caa990f3a220ecb099d55ad701
legacy-web-en-light.png https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-302439f651ccd2a9c1737bfb5b82b532d481864009b07417aa61bf12f5227726
legacy-web-zh-dark.png https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-899e18c6a8cebed54c6148773b19e3dbdc9d42c6ff45b16b4a675388b4a8a0e9
feature-matrix.md https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-230cb4405678cb67c93fbdcd7658be5c10575acce6ff9051e59d28c27c7f73b0
native-settings.md https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-0487713e7f1b10f7d1fa47d926ea23c8a942395623f56193963d51816865aaeb
project-models.md https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-0e70de3414553f3025d0627068b663d34e94910afc6c1cc8234b501813640e3c
v3.0.1.md https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-fc971b9bdedfb934f379d2f77fbf5883c4650245e5aac0f3105e6da33e87e79a
plugin_native_source_test.go https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a6a383aae15aa8e16b1bd972521527c1dc7093caf2b4a05bb994494d344aac65
zh-Hans.json https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-5f343b1a2658bd6e384f8c9e3f3870c786c650f1822c3151b6c2935117618d05
plugin.json https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-fd453d47a1442d757b44660ee9244f4b1e21497121274ea866ad68f3484c8b2a
MANIFEST.MF https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-cb8dd6d4510f59709a7e19932119566029b8a4b1cc525e010aecb597d990977a
plugin.xml https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-5540e0d7790d3b2f8d5fe15e4f3729d3c8a973e36cf4e0f13bd972c42c15c906
Activator.java https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-10586d27d76d3bd75c13ebc19995fa64668388300381d783ba50f733e09de619
ContainerKind.java https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-c13ea7ec4d0f0c4ceec5210ebbd0f5c6ffc8bf4289105927c1312b09d8367fc0
ContainerRefresher.java https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-e8e3cf436c9bd9bb7779f7b776c7751a5c3d0ed29cd57c008ccc60b2a89ddff6
ContainerResolver.java https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-8ad6ff05827fb7f2991b44e1b048de5698b39280913106cf77aec77ef5c65e4c
DescribeCommandHandler.java https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-bdd6d5b99e7802c6301a9849a59a0083afe733392a1933728f88c9903352546e
LitheContainer.java https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-8d2eba260ab082054ba52ff4e3f11293393d05c0f1bc03c3d40261564f4dc44f
LitheContainerInitializer.java https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-0156d4ce63c1ab0c7aada234a0f100dd73277f64bd244505e04c5d0ffdb27739
ProjectModelLog.java https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-414ca1dddc55b532d740ed0dc7220664320e6dcb157bd7857119fc981fef8f7b
ProjectModelSettings.java https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-cc409790f0b51a56c9d03c0b92d034f0d822eff83b14b5b47b26cffe68ff3de8
ServletHomeVariableInitializer.java https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a3a89c94b201940b52103a5c132f9c3273711d499a3f9e818d697e7e2571808e
WebModules.java https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-222ac63987da9990740f7b3e7f7748c1429a3f792aaed05364b55a6f8e9953ba
assemble-package.sh https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-baece9195f358b5d958ceac7d47f2ff1446602e9297c63cc94242fec179a17e1
test-project-models.mjs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-53c95d0ad1eeac9e8487895385081e646e2920ba9fbf9955900714d000cee0e6
build-linux.mjs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-8198af2ae2b94f576f883387dd761632c97621be1ed02fd903b0045b871dabd3
build-windows.mjs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-18a2c3b10e7d9cec4b5e9ea15ad5a25d72312467e6a5c3ec7cbbed8724fc2316
project-model-bundle.mjs https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-da4bba6c077a66e4a27796e24d6e26b2046dfea8733e9278c6dddbe468383a33
verify-package.sh https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-38687e3648a58623d85b61bba67c9594eccb7d9fed3af121da7119ba461f350c
.github/workflows/ci.ymlhttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
View file https://github.com/Lithe-IDEA/lithe-plugin-java/blob/fdd4aa9a40bb73e7a24694ac9ae24ac762ccb6cb/.github/workflows/ci.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f
.github/workflows/release.ymlhttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34
View file https://github.com/Lithe-IDEA/lithe-plugin-java/blob/fdd4aa9a40bb73e7a24694ac9ae24ac762ccb6cb/.github/workflows/release.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34
README.mdhttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/Lithe-IDEA/lithe-plugin-java/blob/fdd4aa9a40bb73e7a24694ac9ae24ac762ccb6cb/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
backend/src/launch.rshttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
View file https://github.com/Lithe-IDEA/lithe-plugin-java/blob/fdd4aa9a40bb73e7a24694ac9ae24ac762ccb6cb/backend/src/launch.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-a594d2ec7796210197997dad2790b331bc70b868e5c98bb35e02e838827a28fe
backend/src/lib.rshttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-9cd99344677f61bc58fc3f6c29c3f7e212d40afdb18e489a6250cdb7191ab6a6
View file https://github.com/Lithe-IDEA/lithe-plugin-java/blob/fdd4aa9a40bb73e7a24694ac9ae24ac762ccb6cb/backend/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-9cd99344677f61bc58fc3f6c29c3f7e212d40afdb18e489a6250cdb7191ab6a6
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-9cd99344677f61bc58fc3f6c29c3f7e212d40afdb18e489a6250cdb7191ab6a6
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-9cd99344677f61bc58fc3f6c29c3f7e212d40afdb18e489a6250cdb7191ab6a6
https://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files#diff-9cd99344677f61bc58fc3f6c29c3f7e212d40afdb18e489a6250cdb7191ab6a6
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java/pull/22/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.