IDEA2026.1.1通过ACP使用Claude Code(使用DeepSeek V4)

平台:

windows 11 + IDEA 2026.1.1(2026.1有个BUG,下拉列表不能显示已经安装的Claude Agent)

不是通过Plugin来使用Caude Code Cli,而是通过ACP。

  1. 安装Claude code

  2. 在 c:/Users/xxx/.claude/settings.json中,配置:

{

"$schema": "https://json.schemastore.org/claude-code-settings.json",

"disableLoginPrompt": true,

"hasCompletedOnboarding": true,

"env": {

"ANTHROPIC_BASE_URL": "https://api.deepseek.com/anthropic",

"ANTHROPIC_AUTH_TOKEN": "sk-xxxxxxxx",

"ANTHROPIC_DEFAULT_OPUS_MODEL": "deepseek-v4-pro1m",

"ANTHROPIC_DEFAULT_SONNET_MODEL": "deepseek-v4-pro1m",

"ANTHROPIC_DEFAULT_HAIKU_MODEL": "deepseek-v4-flash1m",

"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",

"CLAUDE_CODE_EFFORT_LEVEL": "max"

},

"model": "opus1m",

"theme": "dark"

}

  1. 在命令行启动:

claude

  1. 在IDEA的JetBrains AI中选择 Install From ACP Regitstry...,输入:Claude Agent,点击install

  2. 在IDEA中连按两次Shift键,输入:Registry,选择 Registry...回车,接着从键盘键入:

llm.chat.agent.acp.explicit.auth.enabled

找到配置后,把勾取消。

  1. 重启IDEA,在JetBrains AI中选择"Claude Agent", 输入:你是哪个大模型,最后显示:

我是 DeepSeek V4 Pro,当前以 Opus 模式运行

相关推荐
码哥字节2 天前
213000星的Superpowers,90%的人只用了它10%的功能
claude code·ai编程工具·claude code技巧
lincats2 天前
Claude Code项目越写越乱?这套清理流程能救你
ai·ai agent·claude code
lincats3 天前
Claude Code再强,也有这7件事做不了
ai agent·deepseek·claude code
码哥字节4 天前
我用 Claude Code 做 Code Review 两个月,Bug 漏检率从 41% 降到 11%
code review·claude code·ai代码审查
码哥字节6 天前
GitHub 今日 +2299 Star,这个工具让 AI 读代码不再像翻字典
ast·claude code·代码知识图谱·understand-anything
码哥字节8 天前
204K Star 的 Superpowers,解决了 Claude Code 最隐蔽的工程隐患
claude code·ai编程工具·superpowers
张居斜8 天前
Obsidian + Claude Code + 微信AI,我把这三个系统缝进了一个软件
微信·obsidian·claude code·molio
码哥字节9 天前
我写了 200 行 CLAUDE.md,Claude 全忽略了——Karpathy 只用了四条
ai 编程工具·claude code·agent skills
码哥字节10 天前
一周 30k+ stars 的 Skill 生态,3 个仓库代表 3 种工程师哲学
claude code·agent skills