Skip to main content
This page lists the Iris Code commands you can run inside VS Code and editors built on it. Most are in the command palette, the search box for every editor action: open it with Ctrl+Shift+P, or Cmd+Shift+P on macOS, then type Iris Code. Some commands also appear when you right-click a file or folder.
The commands you type in a terminal are in the CLI reference. This page covers the editor.

In the command palette

The Refactor playbook opens from Refactor plan in the File, Folder or Workspace tab. Its panel provides Get plan, Apply mechanical fixes, Open agent instructions and Verify refactor.

Context menus

Iris Code adds entries to the right-click menu in two places in the VS Code interface.

Explorer (file tree)

Right-clicking in the Explorer, the file list at the side of the editor, lets you scan a file or folder without opening it first:
  • Right-click a JS/TS/Vue/Svelte/Go/Python/Ruby/C#/Java/Rust file → Iris Code: Scan This File
  • Right-click a folder → Iris Code: Scan This Folder
  • Right-click anywhere in the Explorer → Iris Code: Scan Workspace

Editor (inside a file)

Right-clicking inside an open file lets you scan that file, its folder or the whole workspace:
  • Iris Code: Scan Current File - re-run analysis on the file you are editing
  • Iris Code: Scan Current Folder - scan all supported files in the same folder
  • Iris Code: Scan Workspace - run a full workspace scan from the editor context menu