Skip to content

DeepCode:侧边栏视图(Sidebar View)vscode插件 #264

Description

@yinuosi933

功能需求
当前 DeepCode 仅使用 WebviewView,窗口固定在侧边栏。希望新增命令,支持将聊天界面以 WebviewPanel(编辑器标签面板)打开。

我的使用场景
我主要使用 Keil 阅读、编辑工程代码,VSCode 仅用来放置 AI 对话窗口。
侧边栏竖窄窗口空间有限,阅读长段代码分析、调试日志很不友好。
如果能把 DeepCode 放到 WebviewPanel,窗口可以自由拉大、横向布局,对话内容浏览体验会大幅提升。

当前方案存在的局限

  1. WebviewView 固定侧边栏,宽度上限受限,无法自由拓宽窗口;
  2. 不能作为独立标签放置在编辑器区域,缺少灵活的窗口尺寸调节能力;
  3. 长对话、大段代码回复阅读时视野狭窄。

期望效果
新增命令:DeepCode: 在编辑器面板打开对话

  1. 保留现有的侧边栏模式,两种打开方式共存,不影响现有用户;
  2. WebviewPanel 模式与侧边栏共享会话记录;
  3. 聊天窗口支持自由拖拽、最大化、任意调整宽高,获得更大可视区域。
    感谢开发者维护!

Feature Request
Currently DeepCode only uses WebviewView fixed inside the sidebar. I hope you can add a command to launch the chat window as a WebviewPanel editor tab.

My workflow
I view and edit project code in Keil. VSCode is only used to host the AI chat window.
The narrow sidebar view limits visible content. A resizable WebviewPanel would offer a much larger viewport for reading long code explanations and debug logs.

Limitations of the current sidebar-only mode

  1. WebviewView is constrained to sidebar width and cannot be freely widened;
  2. It cannot be placed as an independent tab inside the editor area;
  3. Long conversations and large code blocks are hard to read in the narrow vertical sidebar.

Expected behavior
Add a command like DeepCode: Open Chat in Editor Panel

  1. Keep the existing sidebar view; support both modes at the same time.
  2. The panel shares conversation history with the sidebar chat.
  3. The chat window can be freely dragged and resized for a larger viewing area.

Thanks for your work!

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions