Claude Code in VSCode: A Powerful, Context‑Aware AI Coding Companion
The article walks through installing and configuring the Claude Code extension for VSCode, explains how it adds context‑aware code understanding, visual chat, multiple editing modes and effort levels, shows model switching via CC Switch, and compares its rich features to the limited CLI‑only Anthropic plugin for IntelliJ IDEA.
Installation and Configuration
Search for "Claude Code" in the VSCode Marketplace and click Install.
To bypass the login prompt, edit the configuration file at C:\Users\<username>\.claude.json and set {"hasCompletedOnboarding": true}.
{
"hasCompletedOnboarding": true
}Use the CC Switch tool to select a domestic large model when the project is not very complex.
If you use a cloud provider’s Coding Plan, you can configure different models (Haiku, Sonnet, Opus) for the main mode, allowing model switching within the same conversation.
Usage
After installing, Claude Code can sense the selected code, enabling code explanations that were impossible with the CLI version.
Click the bottom‑right mode switch button to change the editing mode (Modes) and the reasoning depth (Effort).
The three editing modes and five effort levels are shown in the screenshots; from version 4.7 the default effort is xhigh, which drops to high when a non‑Opus model is chosen.
Click the "Show Command Menu" button to list all commands; previously the /config command was required to enable reasoning mode.
Hovering over commands displays tooltips that save time looking up their purpose.
The /mcp command opens a graphical view of the installed MCP service status.
To restore a previous session, click the "Session History" button, which replaces the earlier /resume command.
Conclusion
The VSCode Claude Code extension provides a rich, context‑aware experience that replaces many CLI operations with a few clicks, offering superior functionality compared with the Anthropic Claude Code plugin for IntelliJ IDEA. For IDEA users, the alternative is the CC GUI plugin.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
macrozheng
Dedicated to Java tech sharing and dissecting top open-source projects. Topics include Spring Boot, Spring Cloud, Docker, Kubernetes and more. Author’s GitHub project “mall” has 50K+ stars.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
