Advanced AI-powered code suggestions
Option/Alt + X
. When a completion appears:
Tab
to accept the suggestionCode completion suggestion in action
Option/Alt + X
briefly to trigger automatic code completion. The AI analyzes your current context and provides an immediate suggestion based on what it thinks you’re trying to write.
Option/Alt + X
to open the contextual code completion dialog. This allows you to:
Contextual code completion dialog for hold completion
Use Case | Best Option |
---|---|
Quick variable names or simple logic | Tap - Fast and automatic |
Complex functions or specific requirements | Hold - Provides context input |
Standard patterns the AI can predict | Tap - No input needed |
Custom logic that needs explanation | Hold - Allows for detailed context |