The Codely CLI Companion extension seamlessly integrates Codely CLI into your IDE, providing enhanced context and powerful editing capabilities directly within VS Code.
Features
Enhanced File Context Awareness: Codely CLI automatically gains awareness of the files you have open in your editor, providing it with a richer understanding of your project's structure and content. The extension tracks up to 10 most recently accessed files.
Precise Selection Context: Codely CLI can easily access your cursor's position and selected text within the editor, giving it valuable context directly from your current work. Large selections are automatically truncated to ensure optimal performance.
Native Diff Editing: Seamlessly view, modify, and accept code changes suggested by Codely CLI directly within the editor using VS Code's built-in diff viewer. You can accept changes with a simple Save (Ctrl/Cmd+S) or use dedicated commands.
Quick Launch: Quickly start a new Codely CLI session from the Command Palette (Cmd+Shift+P or Ctrl+Shift+P) by running the "Codely CLI: Run" command.
Real-time Workspace Sync: The extension automatically synchronizes with workspace changes, ensuring Codely CLI always has the most up-to-date context.
Requirements
To use this extension, you'll need:
VS Code version 1.99.0 or newer
Codely CLI (installed separately) running within the VS Code integrated terminal
Usage
Install the extension from the VS Code Marketplace
Open your project workspace in VS Code
Launch Codely CLI by running "Codely CLI: Run" from the Command Palette
Start interacting with Codely CLI - it will automatically have access to your open files and selections
When Codely CLI suggests code changes, you can:
Accept changes using the checkmark button in the diff editor toolbar
Cancel/close the diff editor using the close button
Save changes with Ctrl+S (Cmd+S on Mac) while in the diff editor
Terms of Service and Privacy Notice
By installing this extension, you agree to the Terms of Service.