# SCM 面板在每个对话后自动打开

**URL:** <https://forum.qoder.com/t/scm/5890>\
**Category:** Bug Reports\
**Tags:** settings, others\
**Created:** [March 12, 2026, 7:33am UTC](https://forum.qoder.com/t/scm/5890 "2026-03-12T07:33:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kitee](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.qoder.com/kitee/32/68_2.png) [@kitee](https://forum.qoder.com/u/kitee)\
**Post date:** [March 12, 2026, 7:33am UTC](https://forum.qoder.com/t/scm/5890/1 "2026-03-12T07:33:25Z")

</div>

# SCM Panel Auto-Opens After Every AI Response (无法关闭)

## Issue Description

SCM (Source Control Management) panel automatically opens in the sidebar after every AI conversation, even when there are no file changes or Git operations. This behavior cannot be disabled through settings and severely disrupts the user experience.

**影响** : 严重干扰用户体验，每次对话后都需要手动关闭侧边栏。

* * *

## Steps to Reproduce

1. Open Qoder IDE
2. Open any workspace
3. Send any message to the AI assistant
4. Wait for AI response to complete
5. **Observe** : SCM panel automatically opens in the right/left sidebar

**触发时机** :

- After user sends a message → Panel pops up
- After AI finishes responding → Panel pops up again
- Regardless of whether there are any file changes → Always pops up

* * *

## Expected Behavior

- When there ARE file changes: Show notification badge (optional), but **do NOT auto-open the panel**
- When there are NO file changes: Do NOT show SCM panel at all
- Only show SCM panel when user manually triggers it (press `Ctrl+Shift+G` or click SCM icon)

* * *

## Actual Behavior

- SCM panel **always** auto-opens after every AI interaction
- This happens regardless of whether files were modified or not
- Cannot be disabled through VS Code settings or Qoder settings
- Even completely disabling Git integration does not prevent this behavior

**已尝试的解决方案（均无效）** :

1. **VS Code 标准设置** - 全部无效:

2. **禁用 Git 仓库** - 无效:

3. **Qoder 自定义设置** - 不存在或无效:

* * *

## Screenshots / Screen Recordings

**不录视频了，流程就是下面说的这样**

1. 发送一条消息给 AI
2. 展示 SCM 面板自动弹出
3. 显示没有任何文件变更 (git status 为空)
4. AI 回复后 SCM 面板再次弹出

* * *

## Operating System

- **OS** : Windows11
- **Workspace Type** : Local folder
- **Git Status** : Problem occurs with or without Git enabled

* * *

## Current Qoder Version

**[请填写 - Menu → About Qoder → Copy]**

查看方法:

1. 点击顶部菜单 **Help** (或 Qoder Logo)
2. 选择 **About Qoder**
3. 点击 **Copy** 复制版本信息
4. 粘贴到此处

* * *

## Additional Context

**相关设置文件位置** :

```auto
工作区配置：d:\myEnv\QoderWork_AgentWorkSpace\semB\secu\proj\.vscode\settings.json
全局配置：C:\Users\CassiDyablo\AppData\Roaming\Qoder\User\settings.json (推测)

```

**问题性质** :

- 这是一个 **用户体验问题** ,而非功能错误
- SCM 面板本身工作正常，但自动弹出的行为过于激进
- 无法通过任何已知设置关闭此行为

**优先级** : 中高 - 严重影响日常使用体验

**影响范围** : 所有频繁使用 AI 助手的 Qoder 用户

**建议修复方案** :

1. 添加设置选项：`AI Assistant > Auto Show Changes After Response` (默认 false)
2. 改为只显示通知角标，不自动展开面板
3. 智能判断：只在实际有文件变更时才提示

* * *

**报告时间** : 2026-03-12  
**报告者** : Qoder 用户
