Cline Cheatsheet - VS Code AI Coding Extension (formerly Claude Dev) Full Reference
Cline is one of the most popular VS Code AI coding extensions (formerly Claude Dev, Apache-2.0, multi-provider), for developers who want AI-assisted coding without leaving the editor. It splits planning and execution into Plan/Act phases and injects context via @file/@folder; compared to pure terminal agents the learning curve is lower and visuals are richer. This sheet covers command palette entries, context references, and both modes.
Command Palette Entries 5
Cline: AskAsk mode (Ctrl+Shift+L)
Cline: ExplainExplain selected code (Ctrl+Shift+E)
Cline: RefactorRefactor selected code (Ctrl+Shift+R)
Cline: GenerateGenerate code from a prompt (Ctrl+Shift+G)
Cline: Open In New TabOpen Cline in a new tab
Context References 5
@fileReference a single file as context
@folderReference a whole folder
@urlReference web page content
@problemsReference the Problems panel
Drag file into chatDrop a file into the chat box to attach context
Plan & Act Modes 5
Plan ModeRead-only planning, propose before editing
Act ModeEdit code / run commands once approved
Mode toggleSwitch Plan/Act at the top of the chat
Approve stepApprove Cline actions one by one
Auto-Approve toggleAuto-approve when on (use with care)
Model & Provider 5
Settings → Cline: API ProviderSwitch Anthropic/OpenAI/local
Settings → Cline: ModelPick the specific model
Configure API KeyEnter the provider key in settings
MCP SettingsConnect MCP servers for extra capability
History panelView / restore past tasks
Workflow Tips 5
Plan then ActPlan and confirm big changes before executing
@folder to scopeGive only relevant folders to cut noise
Approve per stepConfirm sensitive actions one by one
Reuse conversationContinue the chat to keep context
Export taskExport task logs for review
Tips
- Cline is among the most-installed AI coding extensions; Plan & Act dual modes are its differentiator — for big changes always Plan then Act.
- Feed context precisely with @file / @folder — more accurate and token-efficient than dumping the whole repo.
- On sensitive/prod repos keep Auto-Approve off and confirm Cline's file writes / commands one by one.
- Multi-provider support (Anthropic/OpenAI/local) means no vendor lock-in; local models handle private tasks.
Official References
Each command links to its official documentation below, so you can verify the latest usage and read deeper.
Maintained by LaoHand
Publicly updated on Aug 21, 2026, continuously proofread against official docs.
Contact Us
Wrong command or description? Send us corrections, business inquiries or product feedback by email.
Contact Us