The official Claude Code extension offers chat, diff previews, file references, and permission prompts. VS Code and Cursor use the same underlying Claude Code user configuration.
1. Install the official extension
First complete the Claude Code setup. In the editor’s Extensions view, search for Claude Code and confirm that the publisher is Anthropic. You can also use the official VS Code guide.
Similar third-party extensions may appear in search. Install the extension published by Anthropic, and do not paste API keys into a third-party settings panel.
2. Reuse the user-level NexusAPI configuration
The extension reads the same ~/.claude/settings.json (or Windows user-profile equivalent) as the CLI. Do not duplicate the NexusAPI key in VS Code or Cursor workspace settings.
If the editor still shows a sign-in prompt:
- Open editor settings and search for
Claude Code login.
- Enable Disable Login Prompt when applicable.
- Fully restart the editor.
If an editor launched from the desktop does not inherit your environment, start it from a configured terminal with:
3. Verify with a safe request
Open Claude Code from its editor icon, Activity Bar, Command Palette, or status bar. Send a read-only test such as:
Then verify one matching entry in the NexusAPI usage log.
Troubleshooting
- Confirm the extension, editor, and Claude Code versions are current.
- Use
/status in the integrated terminal to confirm the Base URL is https://nexusapi.link.
- Restart the entire editor after changing
settings.json.
- Preserve the original error and Request ID, then use self-check.
Never send a full API key, workspace secret, or private source file to support.