Inline Chat (⌘K)
Inline Chat is an integrated feature that enables direct code manipulation and assistance without leaving your editor. Access it using the ⌘K shortcut to maintain your coding flow.
Core Capabilities
Code Generation
Creates code snippets and functions based on natural language descriptions, helping you quickly implement new features.
Watch a demo of Inline Chat in action
Code Refactoring
Transforms existing code to improve structure and readability while preserving its functionality.
Example:"Convert this function to use useCallback"
Action:Refactors selected code while maintaining functionality
Code Explanation
Provides clear, contextual explanations of code blocks to help understand complex implementations.
Example:"Explain how this code block works"
Action:Provides detailed explanation of selected code
How to Use
- 1Select code or position cursor in desired location
- 2Press ⌘K to open Inline Chat
- 3Type your request in natural language
- 4Press Enter to execute
💡 Pro Tip:Press the Esc key at any time to exit the Chat interface and return to the terminal.