Skip to content

iFlyCode Plugin.xml 与插件配置分析

版本: 3.4.2-222 | 分析日期: 2026-05-11

1. 插件基本信息

属性
Plugin IDcom.iflytek
名称iFlyCode
版本3.4.2-222
最低 IDE 版本222.3345.118 (IntelliJ 2022.2+)
厂商Anhui Zhuojian Technology Co., Ltd (安徽卓健科技有限公司)
官网https://portal.example.com/

2. 依赖声明

依赖必需配置文件说明
com.intellij.modules.platform-IntelliJ 平台核心
com.intellij.modules.lang-语言支持模块
Git4Idea-Git 集成
com.intellij.modules.javacode-java.xmlJava 语言支持
com.intellij.modules.pythoncode-python.xmlPython 语言支持
com.intellij.modules.webstormcode-javascript.xmlJavaScript 语言支持

3. 扩展点声明

3.1 自定义扩展点

扩展点接口动态用途
ai.code.plugin.languageIdSupportcom.aicode.service.LanguageInfoSupport语言 ID 支持
ai.code.plugin.editorSupportcom.aicode.service.EditorSupport编辑器支持

3.2 IntelliJ 扩展点注册

Application Services

服务接口实现类说明
-com.aicode.settings.AICodeSettingsStateAI 代码设置状态
-com.aicode.settings.UnitTestSettingsState单测设置状态
-com.aicode.settings.BatchUnitTestSettingsState批量单测设置状态
-com.aicode.apm.OpenTelemetryServiceOpenTelemetry 遥测服务
-com.aicode.settings.AICodeRequestSettings请求设置
-com.aicode.status.AICodeStatusService状态服务
-com.aicode.service.editor.DocumentActionTracker文档操作追踪
EditorManagerServiceEditorManagerServiceImpl编辑器管理服务
RequestTipServiceRequestTipServiceImpl补全请求服务
PluginAgentProcessServiceRestartableAgentProcessServiceAgent 进程服务
-com.aicode.inline.InlineChatService内联聊天服务

Project Services

服务接口实现类说明
-com.aicode.action.batch.ResultTree批量单测结果树

Project Components

实现类说明
com.aicode.listener.PluginDocumentListener插件文档监听器

Application Components

实现类说明
com.aicode.listener.ThemeChangeListener主题变更监听

4. Action 注册

4.1 代码补全 Actions

Action ID快捷键说明
AICode.applyInlaysAcceptInlaysActionTab接受补全
AICode.applyWordInlaysAcceptWordInlaysActionCtrl+Right逐词采纳
AICode.applyLineCodeInlaysAcceptLineCodeInlaysActionCtrl+Down逐行采纳
AICode.disposeInlaysDisposeInlaysActionEsc清除补全
AICode.cyclePrevInlaysCyclePreviousEditorInlaysAlt+[ / Ctrl+,上一个补全
AICode.cycleNextInlaysCycleNextEditorInlaysAlt+] / Ctrl+.下一个补全
AICode.requestCompletionsRequestCodeGenerateActionAlt+\ / Alt+C触发补全

4.2 状态栏 Actions

Action ID说明
AICode.userInfoUserInfoAction用户信息
AICode.enableAutoTriggerEnableAutoTriggerCodeGenerateAction自动触发开关
AICode.settingPluginSettingAction插件设置
AICode.LogoutActionLogoutAction登出

4.3 Inline Chat Actions

Action ID快捷键说明
AICode.InlineChat.InlineChatStopActionInlineChatStopActionAlt+Z停止编辑
AICode.InlineChat.InlineChatUndoActionInlineChatUndoActionCtrl+Z / Cmd+Z撤销
AICode.InlineChat.AcceptActionInlineChatAcceptActionAlt+Y接受
AICode.InlineChat.RejectActionInlineChatRejectActionAlt+X拒绝
AICode.InlineChat.RetryActionInlineChatRetryActionAlt+D重试

4.4 其他 Actions

Action ID说明
AICode.openWindowOpenWindowActionCtrl+Q 打开窗口
TriggerCodeProblemsTreePopupActionCodeProblemsTreePopupAction一键修复

4.5 Action Groups

Group ID包含说明
AICode.inlayContextMenuapplyInlays, applyWordInlays补全右键菜单
AICode.statusBarPopupuserInfo, enableAutoTrigger, setting, LogoutAction状态栏弹出菜单
AICode.InlineChatStop, Undo, Accept, Reject, Retry内联聊天操作
AICodeEditorPopupaicode.EditorActionGroup编辑器右键菜单 "星火飞码 iFlyCode"

5. Listener 注册

5.1 Application Listeners

TopicListener说明
AnActionListenerDocumentActionTracker$ActionListener全局 Action 追踪
DynamicPluginListenerAICodeUnloadPluginListener插件卸载监听
AppLifecycleListenerApplicationStartupListener应用启动监听
ProjectManagerListenerPluginManagerListener项目管理监听

5.2 Project Listeners

TopicListener说明
LookupManagerListenerCodeLookupManagerListener代码查找监听
CommandListenerAutoCodeGenerateListener自动补全触发
FileEditorManagerListenerCodeFileEditorManagerListener文件编辑器监听
SocketMessageListenerSocketMessageHandleListenerWebSocket 消息监听

6. 其他扩展

扩展点实现类说明
postStartupActivityPluginStartupActivity启动后初始化
jvm.exceptionFilterDebuggerFilterJVM 异常过滤
intentionActionCodeProblemsIntentionAction代码问题意图
statusBarWidgetFactoryStatusBarWidgetFactory状态栏小部件
typedHandlerTipTypedHandlerDelegate输入处理 (order: first, before completionAutoPopup)
actionPromoterCodePromoterActionAction 推广
actionPromoterTipPromoterAction补全推广
notificationGroupaicode.notice (BALLOON)通知组
checkinHandlerFactoryCommitHandlerFactory提交处理器
languageIdSupportAICodeExtendedLanguageSupport扩展语言支持
languageIdSupportCodeLanguageInfoSupport (last)代码语言支持

7. 资源包

  • 消息包: messages.BasicActionsBundle — UI 文本和标签
  • 描述: 包含完整的中英双语功能描述,涵盖 10 大功能

8. 版本历史要点

change-notes 提取的关键版本信息:

版本关键特性
3.4.1多模型管理/切换,SQL 支持 TxSQL
3.4.0流程图生成,文件引用,iFlyDev/iFlyOps/iFlyPm/iFlyDBA 助理,inlinechat (私有化版)
3.3.1Go/C# 支持,批量函数注释,自动更新
3.3.0实验功能设置,Beta 标识,玩法推荐
3.2.6批量单测(企业版),代码预评审(个人/团队版)
3.2.4通用助理、测试助理、代码优化、函数拆分
3.2.0C 语言支持,JS 箭头函数,APM 监控,C/C++ 单测
3.0.0产品架构和 UI 全新升级,星火大模型最新版本
2.2.0历史会话,SQL 多数据源
2.0.0SQL 生成/优化,代码调试,文档注释
1.0.0行级/函数级补全,单元测试,代码解释,智能问答

本项目仅供学习研究,逆向分析内容归原厂商所有。