340 lines
8.8 KiB
JSON
340 lines
8.8 KiB
JSON
{
|
|
"name": "claude-code",
|
|
"displayName": "Claude Code for VS Code",
|
|
"description": "Claude Code for VS Code: Harness the power of Claude Code without leaving your IDE",
|
|
"version": "2.0.50",
|
|
"publisher": "Anthropic",
|
|
"license": "© Anthropic PBC. All rights reserved. Use is subject to the Legal Agreements outlined here: https://docs.claude.com/en/docs/claude-code/legal-and-compliance.",
|
|
"bugs": {
|
|
"url": "https://github.com/anthropics/claude-code/issues",
|
|
"email": "support@anthropic.com"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.94.0"
|
|
},
|
|
"categories": [
|
|
"AI",
|
|
"Chat"
|
|
],
|
|
"keywords": [
|
|
"claude",
|
|
"sonnet",
|
|
"ai",
|
|
"mcp",
|
|
"agent"
|
|
],
|
|
"activationEvents": [
|
|
"onStartupFinished",
|
|
"onWebviewPanel:claudeVSCodePanel"
|
|
],
|
|
"icon": "resources/claude-logo.png",
|
|
"main": "./extension.js",
|
|
"contributes": {
|
|
"configuration": {
|
|
"title": "Claude Code",
|
|
"properties": {
|
|
"claudeCode.selectedModel": {
|
|
"type": "string",
|
|
"default": "default",
|
|
"description": "The AI model for Claude Code."
|
|
},
|
|
"claudeCode.environmentVariables": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Environment variable name"
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"description": "Environment variable value"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"value"
|
|
]
|
|
},
|
|
"default": [],
|
|
"description": "Environment variables to set when launching Claude.\n\nPrefer setting environment variables in Claude's settings.json.\nSee documentation: https://code.claude.com/docs/en/settings"
|
|
},
|
|
"claudeCode.useTerminal": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Launch Claude in the terminal instead of the native UI."
|
|
},
|
|
"claudeCode.allowDangerouslySkipPermissions": {
|
|
"type": "boolean",
|
|
"description": "Allow bypass permissions mode. Recommended only for sandboxes with no internet access."
|
|
},
|
|
"claudeCode.claudeProcessWrapper": {
|
|
"type": "string",
|
|
"description": "Executable path used to launch the Claude process."
|
|
},
|
|
"claudeCode.respectGitIgnore": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Respect .gitignore files when performing file searches. Tip: You can still filter by other exclusion patterns in .ignore when this is disabled."
|
|
},
|
|
"claudeCode.initialPermissionMode": {
|
|
"type": "string",
|
|
"enum": [
|
|
"default",
|
|
"acceptEdits",
|
|
"plan",
|
|
"bypassPermissions"
|
|
],
|
|
"default": "default",
|
|
"description": "Initial permission mode for new conversations."
|
|
},
|
|
"claudeCode.disableLoginPrompt": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "When true, never prompt for login/authentication in the extension. Used when authentication is handled externally."
|
|
},
|
|
"claudeCode.autosave": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Automatically save files before Claude reads or writes them."
|
|
},
|
|
"claudeCode.useCtrlEnterToSend": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "When enabled, use Ctrl/Cmd+Enter to send prompts instead of just Enter. This allows Enter to create new lines."
|
|
}
|
|
}
|
|
},
|
|
"jsonValidation": [
|
|
{
|
|
"fileMatch": [
|
|
"**/.claude/settings.json",
|
|
"**/.claude/settings.local.json",
|
|
"**/ClaudeCode/managed-settings.json",
|
|
"**/claude-code/managed-settings.json"
|
|
],
|
|
"url": "./claude-code-settings.schema.json"
|
|
}
|
|
],
|
|
"commands": [
|
|
{
|
|
"command": "claude-vscode.editor.open",
|
|
"title": "Claude Code: Open in New Tab",
|
|
"icon": {
|
|
"light": "resources/claude-logo.svg",
|
|
"dark": "resources/claude-logo.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "claude-vscode.editor.openLast",
|
|
"title": "Claude Code: Open",
|
|
"icon": {
|
|
"light": "resources/claude-logo.svg",
|
|
"dark": "resources/claude-logo.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "claude-vscode.window.open",
|
|
"title": "Claude Code: Open in New Window"
|
|
},
|
|
{
|
|
"command": "claude-vscode.sidebar.open",
|
|
"title": "Claude Code: Open in Side Bar",
|
|
"icon": {
|
|
"light": "resources/claude-logo.svg",
|
|
"dark": "resources/claude-logo.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "claude-vscode.update",
|
|
"title": "Claude Code: Update extension"
|
|
},
|
|
{
|
|
"command": "claude-vscode.focus",
|
|
"title": "Claude Code: Focus input"
|
|
},
|
|
{
|
|
"command": "claude-vscode.blur",
|
|
"title": "Claude Code: Blur input"
|
|
},
|
|
{
|
|
"command": "claude-vscode.logout",
|
|
"title": "Claude Code: Logout"
|
|
},
|
|
{
|
|
"command": "claude-vscode.terminal.open",
|
|
"title": "Claude Code: Open in Terminal",
|
|
"icon": {
|
|
"light": "resources/claude-logo.svg",
|
|
"dark": "resources/claude-logo.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "claude-vscode.acceptProposedDiff",
|
|
"title": "Claude Code: Accept Proposed Changes",
|
|
"enablement": "claude-vscode.viewingProposedDiff",
|
|
"icon": "$(check)"
|
|
},
|
|
{
|
|
"command": "claude-vscode.rejectProposedDiff",
|
|
"title": "Claude Code: Reject Proposed Changes",
|
|
"enablement": "claude-vscode.viewingProposedDiff",
|
|
"icon": "$(discard)"
|
|
},
|
|
{
|
|
"command": "claude-vscode.insertAtMention",
|
|
"title": "Claude Code: Insert @-Mention Reference"
|
|
},
|
|
{
|
|
"command": "claude-code.acceptProposedDiff",
|
|
"title": "Claude Code: Accept Proposed Changes",
|
|
"enablement": "claude-code.viewingProposedDiff",
|
|
"icon": "$(check)"
|
|
},
|
|
{
|
|
"command": "claude-code.rejectProposedDiff",
|
|
"title": "Claude Code: Reject Proposed Changes",
|
|
"enablement": "claude-code.viewingProposedDiff",
|
|
"icon": "$(discard)"
|
|
},
|
|
{
|
|
"command": "claude-code.insertAtMentioned",
|
|
"title": "Claude Code: Insert At-Mentioned"
|
|
},
|
|
{
|
|
"command": "claude-vscode.showLogs",
|
|
"title": "Claude Code: Show Logs"
|
|
}
|
|
],
|
|
"keybindings": [
|
|
{
|
|
"command": "claude-vscode.insertAtMention",
|
|
"key": "alt+k",
|
|
"mac": "alt+k",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"command": "claude-vscode.focus",
|
|
"key": "cmd+escape",
|
|
"mac": "cmd+escape",
|
|
"win": "ctrl+escape",
|
|
"linux": "ctrl+escape",
|
|
"when": "!config.claudeCode.useTerminal && editorTextFocus"
|
|
},
|
|
{
|
|
"command": "claude-vscode.blur",
|
|
"key": "cmd+escape",
|
|
"mac": "cmd+escape",
|
|
"win": "ctrl+escape",
|
|
"linux": "ctrl+escape",
|
|
"when": "!config.claudeCode.useTerminal && !editorTextFocus"
|
|
},
|
|
{
|
|
"command": "claude-vscode.editor.open",
|
|
"key": "cmd+shift+escape",
|
|
"mac": "cmd+shift+escape",
|
|
"win": "ctrl+shift+escape",
|
|
"linux": "ctrl+shift+escape",
|
|
"when": "!config.claudeCode.useTerminal"
|
|
},
|
|
{
|
|
"command": "claude-vscode.terminal.open.keyboard",
|
|
"key": "cmd+escape",
|
|
"mac": "cmd+escape",
|
|
"win": "ctrl+escape",
|
|
"linux": "ctrl+escape",
|
|
"when": "config.claudeCode.useTerminal"
|
|
},
|
|
{
|
|
"command": "claude-code.insertAtMentioned",
|
|
"key": "cmd+alt+K",
|
|
"mac": "cmd+alt+K",
|
|
"win": "ctrl+alt+K",
|
|
"linux": "ctrl+alt+K",
|
|
"when": "editorTextFocus"
|
|
}
|
|
],
|
|
"viewsContainers": {
|
|
"activitybar": [
|
|
{
|
|
"id": "claude-sidebar",
|
|
"title": "Claude",
|
|
"icon": "resources/claude-logo.svg",
|
|
"when": "claude-code:sidebarVisible"
|
|
}
|
|
]
|
|
},
|
|
"views": {
|
|
"claude-sidebar": [
|
|
{
|
|
"type": "webview",
|
|
"id": "claudeVSCodeSidebar",
|
|
"name": "Claude Code",
|
|
"when": "claude-code:sidebarVisible"
|
|
}
|
|
]
|
|
},
|
|
"menus": {
|
|
"editor/title": [
|
|
{
|
|
"command": "claude-vscode.acceptProposedDiff",
|
|
"when": "claude-vscode.viewingProposedDiff",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "claude-vscode.rejectProposedDiff",
|
|
"when": "claude-vscode.viewingProposedDiff",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "claude-code.acceptProposedDiff",
|
|
"when": "claude-code.viewingProposedDiff",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "claude-code.rejectProposedDiff",
|
|
"when": "claude-code.viewingProposedDiff",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "claude-vscode.editor.openLast",
|
|
"when": "!config.claudeCode.useTerminal",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "claude-vscode.terminal.open",
|
|
"when": "config.claudeCode.useTerminal",
|
|
"group": "navigation"
|
|
}
|
|
],
|
|
"commandPalette": [
|
|
{
|
|
"command": "claude-vscode.update",
|
|
"when": "claude-vscode.updateSupported"
|
|
},
|
|
{
|
|
"command": "claude-vscode.editor.openLast",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "claude-vscode.blur",
|
|
"when": "false"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"capabilities": {
|
|
"untrustedWorkspaces": {
|
|
"supported": false,
|
|
"description": "untusted workspaces are not supported"
|
|
}
|
|
},
|
|
"scripts": {},
|
|
"dependencies": {},
|
|
"__metadata": {
|
|
"installedTimestamp": 1763936528064,
|
|
"targetPlatform": "linux-x64",
|
|
"size": 215607858
|
|
}
|
|
} |