NEW: Claude Code Security — research preview

Key Concepts & Shortcuts

Essential keyboard shortcuts, slash commands, and chat features at a glance

Read time: 5 min

title: "Key Concepts & Shortcuts" description: "Essential keyboard shortcuts, slash commands, and chat features at a glance" section: "Copilot" readTime: "5 min"

Key Concepts & Shortcuts

Essential Keyboard Shortcuts

ShortcutAction
Ctrl+Alt+IOpen the Chat view
Ctrl+Shift+ISwitch to agents in Chat view
Ctrl+IInline chat in editor or terminal
Ctrl+Shift+Alt+LQuick Chat
Ctrl+NNew chat session
Ctrl+Alt+.Model picker
TabAccept inline suggestion / navigate to next edit suggestion
Ctrl+RightAccept next word of inline suggestion
Alt+] / Alt+[Cycle through alternative suggestions
EscapeDismiss inline suggestion
F2AI-powered symbol rename suggestions

Chat Access Methods

MethodShortcutBest for
Chat viewCtrl+Alt+IOngoing conversation, multi-file edits
Inline chat (editor/terminal)Ctrl+IIn-place edits while in flow
Quick ChatCtrl+Shift+Alt+LQuick questions without switching context
Command linecode chatStarting chat from outside VS Code

Slash Commands

CommandPurpose
/explainExplain selected code or a concept
/fixFix a code block or linting/compiler error
/testsGenerate tests for selected code
/docGenerate documentation comments
/newScaffold a new project or file
/initGenerate workspace instructions (copilot-instructions.md)
/planCreate a detailed implementation plan
/compactSummarize context to free up space
/clearStart a new session
/startDebuggingGenerate launch.json and start debugging
/searchGenerate a search query

Context References

SyntaxAdds to context
#fileA specific file
#folderA folder and its files
#symbolA specific symbol/function
#codebaseSemantic search across workspace
#selectionCurrent editor selection
#terminalSelectionCurrent terminal selection
#changesSource control changes
#fetchContent from a URL

Chat Participants (@-mentions)

ParticipantDomain
@githubGitHub repos, issues, PRs, code search
@terminalIntegrated terminal, shell commands
@vscodeVS Code features, settings, extension APIs

Context Window

A visual indicator in the chat input shows context window usage. Hover to see total token count and breakdown by category. Use /compact when context fills up.