Misar Docs
MisarMailMisar.BlogMisarReachMisarPostMisar.DevMisar PlatformMisar IdentityMisar Posts API
Reference

VS Code Commands

Complete list of all Misar Code commands available in the VS Code Command Palette and context menus.

Overview

All Misar Code commands are accessible via the Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows/Linux). Type Misar to filter the list.

Chat Commands

Command IDTitleDescription
misarCode.openMisar Code: OpenOpen the Misar Code sidebar panel
misarCode.quickChatMisar Code: Quick ChatOpen a floating quick-chat input box
misarCode.stopMisar Code: StopAbort the currently running agent turn
misarCode.clearHistoryMisar Code: Clear HistoryClear the conversation history for the current session
misarCode.newConversationMisar Code: New ConversationStart a fresh conversation, preserving session memory
misarCode.toggleFocusMisar Code: Toggle FocusMove focus between the editor and the Misar Code panel

Diff Commands

Command IDTitleDescription
misarCode.acceptDiffMisar Code: Accept ChangeAccept the currently previewed file change
misarCode.rejectDiffMisar Code: Reject ChangeReject the currently previewed file change and restore the original
misarcoder.acceptInlineEditMisar Code: Accept Inline EditAccept the active inline edit suggestion
misarcoder.rejectInlineEditMisar Code: Reject Inline EditReject the active inline edit suggestion

Editor Context Commands

These commands appear in the right-click context menu when code is selected in the editor.

Command IDTitleDescription
misarCode.explainCodeExplain ThisGet a plain-language explanation of the selected code
misarCode.fixCodeFix ThisAsk the agent to identify and fix bugs in the selection
misarCode.refactorCodeRefactor ThisImprove structure and patterns while preserving behaviour
misarCode.generateTestsGenerate TestsCreate unit tests for the selected function or class
misarCode.fixWithAIFix With AIInline quick-fix triggered from a diagnostic (error/warning)

Symbol Commands

These commands operate on the symbol under the cursor (function, class, or variable name).

Command IDTitleDescription
misarCode.explainSymbolExplain SymbolExplain the symbol under the cursor including its usages
misarCode.refactorSymbolRefactor SymbolRefactor the symbol and all its references across the workspace
misarCode.testSymbolTest SymbolGenerate tests specifically for the symbol under the cursor

Terminal Commands

Command IDTitleDescription
misarCode.captureTerminalSend Terminal Output to AICapture the last terminal output and send it to the agent as context

Bind any command to a custom keyboard shortcut via File → Preferences → Keyboard Shortcuts, then search for the command ID.