Features
Editor Intelligence (Code Actions)
Harness AI-driven refactoring and troubleshooting shortcuts directly within your workspace.
Editor Intelligence (Code Actions)
Code Actions integrate Sypha's intelligence into the native VS Code editing experience. You can trigger context-aware assistance through the familiar lightbulb icon or the right-click menu.
Operational Modes
- Inject into Context: Instantly transmits highlighted code into your Sypha conversation, automatically including file metadata and line references for maximum accuracy.
- Explain Intent: Provides a comprehensive breakdown of complex logic or unfamiliar structures.
- Surgical Fixes: Detects active warnings or errors and invites Sypha to propose an immediate resolution.
- Code Optimization: Suggests architectural improvements, modern patterns, or performance-related refactors.
Usage Guide
- Selection: Highlight the specific block of code you wish to modify or understand.
- Activation: Select the lightbulb indicator, navigate the context menu to Sypha, or utilize the standard shortcut:
Cmd+.(macOS) /Ctrl+.(Windows). - Task Routing:
- New Conversation: Isolates the request in a fresh thread for focused work.
- Active Task: Incorporates the code snippet into your ongoing chat session.
Configuration
Tailor the underlying behavior of these shortcuts via the Prompts configuration under Support Prompts. This allows you to define custom rules for how Sypha interprets your codebase when improving or explaining logic.
Context Transfer Example
When utilizing "Add to Context," Sypha formats the reference to ensure perfect technical alignment:
Could you clarify the logic in this method?
@data-processor.ts:24:48This precise reference allows Sypha to understand exactly where your focus is within the project hierarchy.