> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iriscode.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Iris Code VS Code Command Palette and Context Menu Reference

> All Iris Code commands available via the VS Code command palette (Ctrl+Shift+P) and right-click context menus in the Explorer and editor.

Every Iris Code command is available from the command palette. Press <kbd>Ctrl+Shift+P</kbd>, or <kbd>Cmd+Shift+P</kbd> on macOS, then type `Iris Code` to filter the list.

Several also appear in right-click context menus, in the Explorer file tree and in the editor, where that is the quicker route.

<Note>
  Looking for the terminal commands instead? Those are in the [CLI reference](/cli/commands). This page is the editor.
</Note>

## In the command palette

| Command                                 | Description                                                                                                               |
| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `Iris Code: Analyse Current File`       | Manually re-analyse the active file                                                                                       |
| `Iris Code: Analyse Workspace`          | Analyse all JS/TS/Vue/Svelte/Go/Python/Ruby/C#/Java/Rust files in the workspace                                           |
| `Iris Code: Analyse This File`          | Right-click a file in Explorer to analyse it                                                                              |
| `Iris Code: Analyse This Folder`        | Right-click a folder in Explorer to analyse it                                                                            |
| `Iris Code: Analyse Current Folder`     | Analyse the folder of the currently open file                                                                             |
| `Iris Code: Open in Panel`              | Pop the sidebar out into a full editor panel beside your code                                                             |
| `Iris Code: Export Scan Report as HTML` | Save the current analysis as a standalone HTML report                                                                     |
| `Iris Code: Install Git Hook`           | Install the pre-push hook into `.git/hooks/pre-push`                                                                      |
| `Iris Code: Uninstall Git Hook`         | Remove the Iris Code block from the pre-push hook                                                                         |
| `Iris Code: Install Build Hook`         | Wire Iris Code health checks into the project build - `prebuild` for Node, Makefile target for Go, Python, Ruby, and .NET |
| `Iris Code: Uninstall Build Hook`       | Remove the Iris Code build hook, leaving any other build steps intact                                                     |
| `Iris Code: Open Dependents Table`      | Open the dependency audit panel (versions + CVEs)                                                                         |
| `Iris Code: Show Welcome Page`          | Open the Getting Started welcome page                                                                                     |

## Context menus

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

### Explorer (file tree)

Right-clicking inside the Explorer panel exposes file- and folder-scoped commands without requiring you to open the file first:

* Right-click a **JS/TS/Vue/Svelte/Go/Python/Ruby/C#/Java/Rust file** → **Iris Code: Analyse This File**
* Right-click a **folder** → **Iris Code: Analyse This Folder**
* Right-click **anywhere** in the Explorer → **Iris Code: Analyse Workspace**

### Editor (inside a file)

Right-clicking inside an open file gives you analysis commands scoped to the current file or its containing folder:

* **Iris Code: Analyse Current File** - re-run analysis on the file you are editing
* **Iris Code: Analyse Current Folder** - analyse all supported files in the same folder
* **Iris Code: Analyse Workspace** - run a full workspace scan from the editor context menu
