mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
#3450 pinned every assistant/thinking segment in a streamed turn to the same turn-start timestamp so a later user message could not be sorted between two segments of the previous turn (#3273). That fix turned out to conflict with the tool-call timeline: tool calls carry their own arrival timestamp, which is strictly greater than the turn-start timestamp, so after #3450 every tool call sorted AFTER both assistant segments instead of between them — the exact 'tool call jumped to the end' ordering bug users are now reporting. The two bugs pull the sort key in opposite directions and cannot both be satisfied by a single timestamp strategy. Roll #3450 back byte-for- byte on useMessageHandling.ts so the tool-call ordering regression is fixed immediately; replace the test file with two focused cases that pin the conflicting invariants so the next fix (likely a monotonic sequence key shared across messages and tool calls) has a clear target: - tool-call interleave test (passes today): a tool call that arrives between two assistant segments must sort strictly between them. - #3273 regression test (it.fails today): all assistant segments of one turn must sort before a user message sent during the turn. Flipped to a normal it() once the proper fix lands. Refs: #3273, #3450 Co-authored-by: Qwen-Coder <noreply@qwenlm.ai> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| assets | ||
| schemas | ||
| scripts | ||
| src | ||
| .vscodeignore | ||
| development.md | ||
| esbuild.js | ||
| eslint.config.mjs | ||
| LICENSE | ||
| NOTICES.txt | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| vitest.config.ts | ||
Qwen Code Companion
Seamlessly integrate Qwen Code into Visual Studio Code with native IDE features and an intuitive chat interface. This extension bundles everything you need — no additional installation required.
Demo
Features
- Native IDE experience: Dedicated Qwen Code Chat panel accessed via the Qwen icon in the editor title bar
- Native diffing: Review, edit, and accept changes in VS Code's diff view
- Auto-accept edits mode: Automatically apply Qwen's changes as they're made
- File management: @-mention files or attach files and images using the system file picker
- Conversation history & multiple sessions: Access past conversations and run multiple sessions simultaneously
- Open file & selection context: Share active files, cursor position, and selections for more precise help
Requirements
- Visual Studio Code 1.85.0 or newer (also works with Cursor, Windsurf, and other VS Code-based editors)
Quick Start
-
Install from the VS Code Marketplace or Open VSX Registry
-
Open the Chat panel using one of these methods:
- Click the Qwen icon in the top-right corner of the editor
- Run
Qwen Code: Openfrom the Command Palette (Cmd+Shift+P/Ctrl+Shift+P)
-
Start chatting — Ask Qwen to help with coding tasks, explain code, fix bugs, or write new features
Commands
| Command | Description |
|---|---|
Qwen Code: Open |
Open the Qwen Code Chat panel |
Qwen Code: Run |
Launch a classic terminal session with the bundled CLI |
Qwen Code: Accept Current Diff |
Accept the currently displayed diff |
Qwen Code: Close Diff Editor |
Close/reject the current diff |
Feedback & Issues
Contributing
We welcome contributions! See our Contributing Guide for details on:
- Setting up the development environment
- Building and debugging the extension locally
- Submitting pull requests
Terms of Service and Privacy Notice
By installing this extension, you agree to the Terms of Service.