copilot-chat
copilot-chat-insert-commit-messagegenerates a commit message!copilot-chatTo start chatcopilot-chat-listlists the buffers that are part of copilots context
When running copilot-chat, you are required to choose a directory because:
- The directory serves as the context for the session.
copilot-chatuses the files and structure within the selected directory to provide relevant suggestions and responses. - It allows
copilot-chatto analyze the codebase, understand the project structure, and offer context-aware assistance. - By selecting a directory,
copilot-chatcan access and reference files, functions, and other resources within the project to provide more accurate and helpful responses. - It ensures that the tool operates within the scope of a specific project, avoiding irrelevant or unrelated suggestions.
This directory-based approach is particularly useful for large projects, as it helps copilot-chat focus on the relevant parts of the codebase.
Typical Workflow
- Start with
copilot-chat-transient(C-c c) to explore available commands. - Select a command from the transient menu, such as starting a chat or sending a prompt.
- Use direct commands or keybindings for repetitive tasks once familiar with the workflow.