====== Copilot Cheat Sheet ====== * **Custom Instructions** Copilot window -> Settings (Cog icon, top right) -> Generate Instructions * **Pause Code Completions** Copilot icon (bottom right) -> Snooze. ===== MCP Servers ===== Extensions -> MCP Servers. Get them [[https://code.visualstudio.com/mcp|here]]. ===== Settings ===== * Chat > Agent: Max Requests. Make this bigger! * Terminal Command Allow / Deny List: Extensions -> GitHub Copilot Chat -> Experimental, allow list, deny list. ===== Custom Chat Modes ===== * **Create** Agent Mode -> Settings (Cog icon) -> Modes -> Create new custom chat mode file... -> ''.github/chatmodes'' -> [name] * **Switch** Copilot window -> Mode dropdown (bottom left) -> [whatever] Get some standard ones [[https://github.com/github/awesome-copilot?tab=readme-ov-file#-custom-chat-modes|here]]. ===== Example Prompts ===== | ''@vscode how do I enable MCP?'' | Chat participants - Ask VS Code something. | | ''@github My username is 'stephen-heise_xero'. What PRs do I have open?'' | Chat participants - Ask GitHub something. | | ''#codebase what version of node is being used?'' | Include the whole code base into the context. | | ''/prompt_file'' | Run a prompt file (typically in ''.github\prompts'' or ''C:\Users\StephenHeise\AppData\Roaming\Code\User\prompts'') |