1. 项目目标 banner
sinberCS sinberCS

1. 项目目标

Data & AI community intermediate

Description

我要写一个Intellij idea的插件,它的作用是将idea通过快捷键切换、执行不同AI的命令,其工作流程一是通过快捷键切换AI,二是使用快捷键(使用当前选择的AI)执行对应功能。我需要你给我生成一个给AI的开发计划,注意:不要增加多余的内容。

Installation

Terminal
claude install-skill https://github.com/sinberCS/switch2ai

README

1. 项目目标

我要写一个Intellij idea的插件,它的作用是将idea通过快捷键切换、执行不同AI的命令,其工作流程一是通过快捷键切换AI,二是使用快捷键(使用当前选择的AI)执行对应功能。我需要你给我生成一个给AI的开发计划,注意:不要增加多余的内容。

2. 核心项目需求

2.1 核心功能

    undefined
aiList:
   cursor: "option+shift+1"
   qoder: "option+shift+2"
   claudeCode: "option+shift+3"

actions:
    switch2ai:
        description: "open file in ai with exactly the line and column"
        keyMap: "option+shift+o"
        cursor: "open -a cursor cursor://file${filePath}:${line}:${column}"
        qoder: "open -a qoder qoder://file${filePath}:${line}:${column}"
        claudeCode: ""
    generateUnitTest:
        description: "generate unit test (only generate selection part if have)"
        keyMap: "option+shift+t"
        cursor: ""
        claudeCode: ""
    undefined

2.2 代码模块

    undefined

3. 疑问解答 (Q&A)

Q1: IDEA插件能否支持右键手动更新快捷键?

**A:**

Q2: 插件执行结果在哪里查看?

**A:** 插件执行结果可以通过以下方式查看:

    undefined

Q3: 如何实现AI状态显示在状态栏?

**A:** 可以通过以下方式实现:

    undefined

4. 开发步骤

阶段1: AI状态管理模块

具体内容

    undefined

阶段2: 功能不变,拆分模块 ✅

具体内容

    undefined

已完成的模块拆分

    undefined

重构的动作类

    undefined

模块化优势

    undefined

阶段3: 基于配置的AI、动作注册和快捷键 ✅

目标

实现插件的基于配置的,AI、动作注册和快捷键绑定

具体步骤

    undefined