Feat/vscode auxiliary sidebar support#1954
Conversation
…pening new window
…e before creating new session
0b48d74 to
84b95b6
Compare
👍 Support for this PR |
|
I've created a related issue documenting this problem: #2097 |
|
@buaoyezz Could you please attach a pre-built .vsix file to this PR? This would allow users without Node.js/npm to test the sidebar feature easily. Many users would like to test this but don't have the full development environment set up. A VSIX attachment would make it much more accessible! |
Related Issues |
|
UPDATE: Connecting related issues for better tracking: |
Well, that would work, but my hard drive died the other day and the new one just arrived, and I need to be late to do that. |
The upload to GitHub failed, so I uploaded it to Google Drive |
|
@buaoyezz Hi, thank you so much for such a rich contribution. You're so enthusiastic — I really want to just merge it right away. However, it looks like there are a few places that differ slightly from Claude Code, and some code changes don't seem necessary for this PR (meaning they could be left out of this submission). I'm going to review the code first, and then let me think about how we can collaborate to get this resolved together. (might need to submit another PR, or I could pull your branch directly, make some modifications, and add you as a collaborator — let me figure out which approach would be more convenient.) |
Thanks a lot , i think so |
TLDR
Adds support for displaying Qwen Code extension in VS Code's auxiliary sidebar, allowing users to place the chat interface in the secondary sidebar for better workspace layout customization.
Dive Deeper
This PR implements a sidebar webview provider that integrates with the existing Qwen Code architecture. Key changes include:
SidebarWebviewProviderclass: Implementsvscode.WebviewViewProviderinterface to display chat in sidebarpackage.jsonto register Qwen Code in the Activity Barprepare-package.jsscript to work on Windows by replacinglscommand with platform-specific alternativesThe implementation reuses existing
QwenAgentManagerandMessageHandlercomponents, ensuring consistency with the panel-based chat experience.Reviewer Test Plan
Example prompts to test:
Testing Matrix
Tested on Windows 11 with VS Code 1.95+. The extension builds, installs, and functions correctly with the sidebar view.
Linked issues / bugs
Fixes #1390.