> ## 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 Settings Reference - All iris.* Options

> All iris.* settings available in VS Code's settings UI (Ctrl+,). Configure thresholds, detection toggles, and display options per machine.

These settings (`Ctrl+,`, then search **"Iris Code"**) apply to your machine only. They are not shared with the rest of the team.

That makes them suitable for personal preferences and unsuitable for team standards. Anything everyone should be held to belongs in a `.irisconfig.json` committed at the project root. When both exist, the project file takes priority for any key it defines.

## Settings reference

### Thresholds

| Setting                        | Default | Description                                       |
| ------------------------------ | ------- | ------------------------------------------------- |
| `iris.functionLengthThreshold` | `40`    | Lines before a function is flagged                |
| `iris.fileLengthThreshold`     | `300`   | Lines before a file is flagged                    |
| `iris.maxFunctionsPerFile`     | `10`    | Max functions before flagging                     |
| `iris.maxImportsPerFile`       | `8`     | Max third-party imports before flagging           |
| `iris.maxParameterCount`       | `5`     | Max parameters before flagging a function         |
| `iris.complexityThreshold`     | `7`     | Complexity score that triggers status bar warning |

### Detection toggles

| Setting                                | Default | Description                                               |
| -------------------------------------- | ------- | --------------------------------------------------------- |
| `iris.enableConsoleLogWarnings`        | `true`  | Flag `console.log` / `print()` / `fmt.Print*` statements  |
| `iris.enableMagicNumberDetection`      | `true`  | Flag raw numeric literals used without a named binding    |
| `iris.enableTodoDetection`             | `true`  | Flag `TODO` / `FIXME` / `HACK` comments                   |
| `iris.enableLongParamDetection`        | `true`  | Flag functions with too many parameters                   |
| `iris.enableUnusedDetection`           | `true`  | Flag unused variables and functions                       |
| `iris.enableMissingReturnTypeWarnings` | `true`  | Flag exported functions missing return types (TS/JS only) |

### Display

| Setting                | Default | Description                               |
| ---------------------- | ------- | ----------------------------------------- |
| `iris.enableCodeLens`  | `true`  | Show inline Code Lens hints               |
| `iris.enableStatusBar` | `true`  | Show the Iris Code item in the status bar |

### Ignore and override rules

| Setting                  | Default                 | Description                                           |
| ------------------------ | ----------------------- | ----------------------------------------------------- |
| `iris.severityOverrides` | `{}`                    | Override severity per warning type                    |
| `iris.ignoreFiles`       | `["**/*.test.ts", ...]` | Glob patterns for files to skip in workspace analysis |
| `iris.ignoreFunctions`   | `[]`                    | Function names Iris Code should never flag            |

<Tip>
  For team-wide settings, use `.irisconfig.json` instead - VS Code settings only apply to your machine. See [Configure Iris Code with .irisconfig.json](/configuration/irisconfig) for the full reference.
</Tip>
