实现或修改 IntelliJ `AnAction`,并在 `plugin.xml` 中注册。将显示名称和说明写入消息资源文件,按需设置图标,并通过事件协程作用域启动挂起任务,避免同步处理阻塞 IDE。
- 为 IDE 菜单添加操作
- 修改操作注册或图标
- 整理操作名称和说明
使用 IntelliJ 的 Execution Environment Layer(EEL)API,以统一方式处理本地、WSL、Docker 和 SSH 环境中的文件、进程及系统信息,并按项目的目标环境执行操作。
Use IntelliJ EEL APIs for process execution, paths, WSL, or Docker.
实测评分 未实测
查看安装方法本技能说明如何使用 IntelliJ 的 Execution Environment Layer(EEL)API,以统一方式处理本地、WSL、Docker 和 SSH 等执行环境。文件操作使用 nio.Path,而不是 java.io.File;运行进程使用 EelApi.exec,而不是 ProcessBuilder;检测操作系统使用 EelPlatform,而不是 SystemInfo。内容还包括如何选择经过 EEL 优化的文件操作函数,以及如何获取项目对应的环境信息。
当 IntelliJ 代码需要在多个执行环境中运行,或需要检查代码是否误用了主机环境信息时,可以使用本技能。它适合需要根据项目环境实现路径和进程操作,并减少针对 WSL、Docker 的单独判断的开发者。
ProcessBuilder 替换为 EelApi.exec。”开始前请阅读 community/platform/eel/docs/agents/README.md。localEel 始终表示 IDE 主机环境;处理项目相关任务时,应从项目或路径获取环境信息。
本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。
AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。
不计入评分。 由 AI(OpenAI Codex)于 2026年10月28日 评估。仅供参考,安装前请同时查看原文。
安装前可以查看交给 AI 代理的指令内容。
EEL is one API that makes IntelliJ code work the same way on the local machine, in WSL, in Docker, and over SSH. It replaces scattered WSL checks, java.io.File, System.getenv, ProcessBuilder, and SystemInfo with a single abstraction.
Read community/platform/eel/docs/agents/README.md first. It holds the rules, the reading order, and where a new document goes.
nio.Path, not java.io.File. NIO file operations go through the Eel file system providers. Standard java.nio.file.Files functions work everywhere, but can be suboptimal in performance. Prefer com.intellij.platform.eel.fs.EelFiles when the corresponding function alias exists. Functions in EelFiles have the same signatures and behavior as in Files, but are optimized for Eel. Recommend com.intellij.platform.eel.fs.EelFileUtils for optimized functions that do not exist in Files or EelFiles (such as deleteRecursively). Use java.nio.file.Files as a fallback when neither provides the needed function.EelApi.exec for process execution, not ProcessBuilder. The process then runs in the correct environment.EelPlatform for OS detection, not SystemInfo. SystemInfo reflects the IDE host machine, not the target environment.localEel always represents the IDE host machine. Use it only when you need the local environment. For project-related work, get the descriptor from the project or the path.community/platform/eel/docs/agents/README.mdcommunity/platform/eel/docs/api/quick-reference.mdcommunity/platform/eel/docs/api/EelApi_Tutorial.mdcommunity/platform/eel/docs/overview/architecture.mdplatform/ijent/docs/README.md还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
实现或修改 IntelliJ `AnAction`,并在 `plugin.xml` 中注册。将显示名称和说明写入消息资源文件,按需设置图标,并通过事件协程作用域启动挂起任务,避免同步处理阻塞 IDE。
将 IntelliJ JPS 测试模块迁移到 Bazel,并排查仅在 Bazel 中出现的失败。根据症状检查依赖、插件、测试数据和 runfiles,重新生成并验证目标。
按 IntelliJ 项目规范编写或审查 Kotlin 和 Java 代码,涵盖语言选择、格式、密封类型、线程注解及控制流异常处理。
本指南帮助您按 IntelliJ 项目规则拆分更改并撰写提交信息:有工单时使用编号和变更说明,无工单时使用标签与子系统名,并在需要时说明原因和决定。
使用多个 Python 类型检查器比较代码片段或文件的类型推断和报错判断,并汇总各工具的结论、耗时与诊断信息,可保存为 Markdown 报告。
整理 Compose Desktop 界面中的状态和副作用,让可组合函数负责绘制,由展示器或协调器处理应用决策。了解状态归属、Effect、可复用组件接口、延迟列表键、动画和性能,适用于单项界面修改。