NEW: Claude Code Security — research preview

Reference

Complete keyboard shortcuts, built-in tools, slash commands, and settings

Read time: 6 min

title: "Reference" description: "Complete keyboard shortcuts, built-in tools, slash commands, and settings" section: "Copilot" readTime: "6 min"

Reference

Keyboard Shortcuts

ShortcutAction
Ctrl+Alt+IOpen Chat view
Ctrl+Shift+ISwitch to agents in Chat view
Ctrl+NStart new chat session
Ctrl+IInline chat in editor or terminal
Ctrl+Shift+Alt+LQuick Chat
Ctrl+Alt+.Model picker
TabAccept inline suggestion / navigate NES
Ctrl+RightAccept next word of inline suggestion
Alt+] / Alt+[Cycle alternative suggestions
EscapeDismiss inline suggestion
F2AI rename suggestions
Ctrl+Shift+PCommand Palette
Ctrl+Shift+GSource Control view

Built-in Chat Tools

ToolPurpose
#agentDelegate tasks to other agents
#agent/runSubagentRun task in isolated subagent context
#edit/createFileCreate a new file
#edit/editFilesApply edits to files
#execute/runInTerminalRun shell command in terminal
#execute/testFailureGet unit test failure info
#read/readFileRead file content
#read/problemsAdd Problems panel issues as context
#read/terminalLastCommandGet last terminal command + output
#search/codebaseSemantic code search
#search/fileSearchFind files by glob pattern
#search/textSearchFind text in files
#selectionCurrent editor selection
#vscode/runCommandRun a VS Code command
#web/fetchFetch content from a URL
#browser(Experimental) Interact with integrated browser

Slash Commands (Full List)

CommandPurpose
/explainExplain code or concept
/fixFix code or compiler/lint errors
/testsGenerate tests
/docGenerate documentation
/newScaffold new project or file
/newNotebookCreate Jupyter notebook
/initGenerate workspace instructions
/planCreate implementation plan
/searchGenerate Search view query
/clearNew chat session
/compactSummarize context
/forkFork session with full history
/startDebuggingGenerate launch.json + start debug
/debugOpen Chat Debug view
/troubleshootAnalyze current session debug logs
/agentsConfigure custom agents
/hooksConfigure hooks
/instructionsConfigure custom instructions
/promptsConfigure prompt files
/skillsConfigure agent skills
/create-promptGenerate prompt file with AI
/create-instructionGenerate instructions file with AI
/create-skillGenerate agent skill with AI
/create-agentGenerate custom agent with AI
/create-hookGenerate hook with AI
/yoloEnable global auto-approval of all tools
/disableYoloDisable global auto-approval

Chat Participants

ParticipantDomain
@githubGitHub repos, issues, PRs, code search
@terminalTerminal, shell commands
@vscodeVS Code features, settings, extension API

Key Settings

SettingDefaultPurpose
github.copilot.enable{ "*": true }Enable/disable per language
github.copilot.nextEditSuggestions.enabledfalseEnable NES
chat.agent.enabledtrueEnable agent mode
chat.disableAIFeaturesfalseHide all AI features
chat.tools.autoApprovefalseAuto-approve all tools
chat.tools.terminal.autoApprovefalseAuto-approve terminal commands
telemetry.telemetryLevelallControl telemetry (set off to disable)
search.searchView.semanticSearchBehaviorautoSemantic search in Search view
workbench.settings.showAISearchToggletrueAI search in Settings editor
editor.inlineSuggest.showToolbaronHoverInline suggestion toolbar