Claude Code for VS Code Adds Add to Chat in the Explorer Menu and Speeds Up Edits and @-Mentions
The Claude Code VS Code extension in 2.1.327 adds "Claude Code: Add to Chat" to the Explorer's right-click menu, which @-mentions the selected files and folders in the chat. It also speeds up consecutive edits, @-mention file search in large workspaces and startup in new folders.
Key Takeaways
- "Claude Code: Add to Chat" in the Explorer menu @-mentions selected files and folders.
- Back-to-back edits are faster because queued edits share one wait for new problems.
- @-mention search is faster in large workspaces when
rgis onPATH, ranked like the terminal. - The model picker is ready immediately in new folders, empty windows and worktrees.
- Escape no longer stops Claude's response when it only closes a dialog or popup.
- Permission prompts show a PreToolUse hook's reason and no longer truncate long names.
Add files from the Explorer
The extension now has "Claude Code: Add to Chat" in the Explorer's right-click menu. Selecting files or folders and choosing it @-mentions them in the chat, so context can be attached without typing paths.
Faster edits and search
When Claude makes several edits in a row, queued edits now share one wait for new problems, so a problem may be reported with a later edit rather than after each one. @-mention file search is much faster in large workspaces when rg is on the PATH, and results rank much as they do in the terminal, with less tolerance for typos. The model picker is also ready at once in folders opened for the first time, empty windows and worktrees, except on third-party providers.
Behaviour changes and fixes
A chat edit's diff now stays open and keeps asking for approval when a terminal session in the same window sends a prompt. The permission prompt now shows the reason a PreToolUse hook gives when it asks for confirmation, long tool and file names are no longer cut off in a permission prompt's title, and Escape no longer also stops Claude's response when it closes a popup or dialog. Unused tools such as openFile, saveDocument and getOpenEditors were removed from the IDE connection.