All iris.* settings available in VS Code’s settings UI (Ctrl+,). Configure thresholds, detection toggles, and display options per machine.
VS Code settings control how Iris Code behaves on your own machine. Use them for personal preferences, such as which warnings to show in the editor. Put standards the whole team shares in .irisconfig.json instead, which is committed with the project.When both set the same thing, the project file wins. Open the settings with Ctrl+, and search for iris.
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.enableSecretsDetection
true
Detect possible hardcoded credentials, with values masked in results
iris.enableSecuritySmells
true
Detect security patterns where they apply to the file language
iris.enableDuplicateDetection
true
Detect duplicated code within and across files
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
iris.sidebarFontSize
14
Base sidebar font size in pixels; also configurable in .irisconfig.json
iris.enableInlineDiagnostics
false
Opt in to squiggles and Problems panel entries
iris.inlineDiagnostics
{}
Per-category diagnostic switches; omitted keys use built-in defaults. See inline diagnostics
Duplicate and test settings
Setting
Default
Description
iris.duplicateBlockMinTokens
40
How long a matching stretch of code must be, counted in tokens (words and symbols, with names and values treated as equal), before it counts as a duplicate; minimum accepted value is 10
iris.testConvention
"colocated"
Look for foo.test.ts beside foo.ts, in __tests__ with "dedicated", or in either location with "both"
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
For team-wide settings, use .irisconfig.json instead, because VS Code settings only apply to your machine. See Configure Iris Code with .irisconfig.json for the full reference.
Was this page helpful?
⌘I
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Iris Code","colors":{"primary":"#DF5F34","light":"#DF5F34","dark":"#DF5F34"},"logo":{"light":"https://mintcdn.com/iriscode/sf57Llzo3wydsM0z/logo/iris-logo-light.svg?fit=max\u0026auto=format\u0026n=sf57Llzo3wydsM0z\u0026q=85\u0026s=20fb61681b3e42c47263c92983df3be6","dark":"https://mintcdn.com/iriscode/sf57Llzo3wydsM0z/logo/iris-logo-dark.svg?fit=max\u0026auto=format\u0026n=sf57Llzo3wydsM0z\u0026q=85\u0026s=cf333e34d2eea3f0bbaf01e4c07611e0","href":"https://iriscode.co"},"favicon":"https://mintcdn.com/iriscode/VO0UckxEJTgzyj-1/logo/iris-icon.svg?fit=max\u0026auto=format\u0026n=VO0UckxEJTgzyj-1\u0026q=85\u0026s=e41b68e87273cb4b5a370d749747a8cf","navbar":{"primary":{"type":"button","label":"Install Free","href":"https://marketplace.visualstudio.com/items?itemName=davidjaja.iris-code"}},"seo":{"metatags":{"canonical":"https://docs.iriscode.co"}},"fonts":{"heading":{"family":"IBM Plex Sans"},"body":{"family":"IBM Plex Sans"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"iriscode","hasAudioNarration":false,"actualSubdomain":"iriscode","customDomains":["docs.iriscode.co"],"gitSource":{"type":"github","owner":"daiveedjay","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afdaa842d5b5666c1369972","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Documentation","count":67},{"language":"default","tag":"What Iris Code finds","count":15},{"language":"default","tag":"Reference","count":10},{"language":"default","tag":"Refactor playbook","count":7},{"language":"default","tag":"Configuration","count":6},{"language":"default","tag":"Blocking bad code","count":6},{"language":"default","tag":"Start here","count":6},{"language":"default","tag":"Editors","count":5},{"language":"default","tag":"Teams","count":5},{"language":"default","tag":"Cloud scanning","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"#sidebar-content .sidebar-title,#header .eyebrow{text-transform:none!important}"}]}
{"page":{"pagePath":"configuration/vscode-settings","slug":"/configuration/vscode-settings","pageMetadata":{"title":"VS Code settings: every iris.* option","sidebarTitle":"VS Code settings","description":"All iris.* settings available in VS Code's settings UI (Ctrl+,). Configure thresholds, detection toggles, and display options per machine.","href":"/configuration/vscode-settings"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"All iris.* settings available in VS Code’s settings UI (Ctrl+,). Configure thresholds, detection toggles, and display options per machine.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`VS Code settings control how Iris Code behaves on your own machine. Use them for personal preferences, such as which warnings to show in the editor. Put standards the whole team shares in `,_jsx(_components.code,{children:`.irisconfig.json`}),` instead, which is committed with the project.`]}),`\n`,_jsxs(_components.p,{children:[`When both set the same thing, the project file wins. Open the settings with Ctrl+, and search for `,_jsx(_components.code,{children:`iris`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`settings-reference`,children:`Settings reference`}),`\n`,_jsx(Heading,{level:`3`,id:`thresholds`,children:`Thresholds`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.functionLengthThreshold`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`40`})}),_jsx(_components.td,{children:`Lines before a function is flagged`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.fileLengthThreshold`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`300`})}),_jsx(_components.td,{children:`Lines before a file is flagged`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.maxFunctionsPerFile`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`10`})}),_jsx(_components.td,{children:`Max functions before flagging`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.maxImportsPerFile`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`8`})}),_jsx(_components.td,{children:`Max third-party imports before flagging`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.maxParameterCount`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5`})}),_jsx(_components.td,{children:`Max parameters before flagging a function`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.complexityThreshold`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`7`})}),_jsx(_components.td,{children:`Complexity score that triggers status bar warning`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`detection-toggles`,children:`Detection toggles`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.enableConsoleLogWarnings`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsxs(_components.td,{children:[`Flag `,_jsx(_components.code,{children:`console.log`}),` / `,_jsx(_components.code,{children:`print()`}),` / `,_jsx(_components.code,{children:`fmt.Print*`}),` statements`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.enableMagicNumberDetection`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsx(_components.td,{children:`Flag raw numeric literals used without a named binding`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.enableTodoDetection`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsxs(_components.td,{children:[`Flag `,_jsx(_components.code,{children:`TODO`}),` / `,_jsx(_components.code,{children:`FIXME`}),` / `,_jsx(_components.code,{children:`HACK`}),` comments`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.enableLongParamDetection`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsx(_components.td,{children:`Flag functions with too many parameters`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.enableUnusedDetection`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsx(_components.td,{children:`Flag unused variables and functions`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.enableSecretsDetection`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsx(_components.td,{children:`Detect possible hardcoded credentials, with values masked in results`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.enableSecuritySmells`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsx(_components.td,{children:`Detect security patterns where they apply to the file language`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.enableDuplicateDetection`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsx(_components.td,{children:`Detect duplicated code within and across files`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.enableMissingReturnTypeWarnings`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsx(_components.td,{children:`Flag exported functions missing return types (TS/JS only)`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`display`,children:`Display`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.enableCodeLens`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsx(_components.td,{children:`Show inline Code Lens hints`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.enableStatusBar`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsx(_components.td,{children:`Show the Iris Code item in the status bar`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.sidebarFontSize`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`14`})}),_jsxs(_components.td,{children:[`Base sidebar font size in pixels; also configurable in `,_jsx(_components.code,{children:`.irisconfig.json`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.enableInlineDiagnostics`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})}),_jsx(_components.td,{children:`Opt in to squiggles and Problems panel entries`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.inlineDiagnostics`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{}`})}),_jsxs(_components.td,{children:[`Per-category diagnostic switches; omitted keys use built-in defaults. See `,_jsx(_components.a,{href:`/features/inline-diagnostics`,children:`inline diagnostics`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`duplicate-and-test-settings`,children:`Duplicate and test settings`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.duplicateBlockMinTokens`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`40`})}),_jsxs(_components.td,{children:[`How long a matching stretch of code must be, counted in tokens (words and symbols, with names and values treated as equal), before it counts as a duplicate; minimum accepted value is `,_jsx(_components.code,{children:`10`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.testConvention`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"colocated\"`})}),_jsxs(_components.td,{children:[`Look for `,_jsx(_components.code,{children:`foo.test.ts`}),` beside `,_jsx(_components.code,{children:`foo.ts`}),`, in `,_jsx(_components.code,{children:`__tests__`}),` with `,_jsx(_components.code,{children:`\"dedicated\"`}),`, or in either location with `,_jsx(_components.code,{children:`\"both\"`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`ignore-and-override-rules`,children:`Ignore and override rules`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.severityOverrides`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{}`})}),_jsx(_components.td,{children:`Override severity per warning type`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.ignoreFiles`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`[\"**/*.test.ts\", ...]`})}),_jsx(_components.td,{children:`Glob patterns for files to skip in workspace analysis`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iris.ignoreFunctions`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`[]`})}),_jsx(_components.td,{children:`Function names Iris Code should never flag`})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`For team-wide settings, use `,_jsx(_components.code,{children:`.irisconfig.json`}),` instead, because VS Code settings only apply to your machine. See `,_jsx(_components.a,{href:`/configuration/irisconfig`,children:`Configure Iris Code with .irisconfig.json`}),` for the full reference.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"VS Code settings: every iris.* option","sidebarTitle":"VS Code settings","description":"All iris.* settings available in VS Code's settings UI (Ctrl+,). Configure thresholds, detection toggles, and display options per machine.","href":"/configuration/vscode-settings"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Settings reference","slug":"settings-reference","depth":2,"children":[{"title":"Thresholds","slug":"thresholds","depth":3,"children":[]},{"title":"Detection toggles","slug":"detection-toggles","depth":3,"children":[]},{"title":"Display","slug":"display","depth":3,"children":[]},{"title":"Duplicate and test settings","slug":"duplicate-and-test-settings","depth":3,"children":[]},{"title":"Ignore and override rules","slug":"ignore-and-override-rules","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"iriscode","siteName":"Iris Code","title":"VS Code settings: every iris.* option - Iris Code","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-03T16:39:51.103Z","originalFileLocation":"configuration/vscode-settings.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"All iris.* settings available in VS Code\u0026#x27;s settings UI (Ctrl+,). Configure thresholds, detection toggles, and display options per machine.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Iris Code\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/iriscode/nPE01eF-6YyAclcR/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/iriscode/nPE01eF-6YyAclcR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/iriscode/nPE01eF-6YyAclcR/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/iriscode/nPE01eF-6YyAclcR/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/iriscode/nPE01eF-6YyAclcR/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/iriscode/nPE01eF-6YyAclcR/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/iriscode/nPE01eF-6YyAclcR/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/iriscode/nPE01eF-6YyAclcR/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/iriscode/nPE01eF-6YyAclcR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"VS Code settings: every iris.* option - Iris Code\">\u003cmeta data-mint-head property=\"og:description\" content=\"All iris.* settings available in VS Code\u0026#x27;s settings UI (Ctrl+,). Configure thresholds, detection toggles, and display options per machine.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Iris Code\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.iriscode.co/configuration/vscode-settings\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://iriscode.mintlify.site/_mintlify/api/og/v2?division=Configuration\u0026amp;title=VS+Code+settings%3A+every+iris.*+option\u0026amp;description=All+iris.*+settings+available+in+VS+Code%27s+settings+UI+%28Ctrl%2B%2C%29.+Configure+thresholds%2C+detection+toggles%2C+and+display+options+per+machine.\u0026amp;theme=96f9904a82aa4d2fcfeb9b47\u0026amp;signature=77794503b5beb4ca16a8e56a77f2e3288455ae74a79a51b7dc39d8704ee09caf\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"VS Code settings: every iris.* option - Iris Code\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"All iris.* settings available in VS Code\u0026#x27;s settings UI (Ctrl+,). Configure thresholds, detection toggles, and display options per machine.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://iriscode.mintlify.site/_mintlify/api/og/v2?division=Configuration\u0026amp;title=VS+Code+settings%3A+every+iris.*+option\u0026amp;description=All+iris.*+settings+available+in+VS+Code%27s+settings+UI+%28Ctrl%2B%2C%29.+Configure+thresholds%2C+detection+toggles%2C+and+display+options+per+machine.\u0026amp;theme=96f9904a82aa4d2fcfeb9b47\u0026amp;signature=77794503b5beb4ca16a8e56a77f2e3288455ae74a79a51b7dc39d8704ee09caf\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/iriscode/nPE01eF-6YyAclcR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Iris Code\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#DF5F34\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.iriscode.co/configuration/vscode-settings\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/configuration/vscode-settings.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.iriscode.co/#organization\",\"name\":\"Iris Code\",\"url\":\"https://docs.iriscode.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/iriscode/sf57Llzo3wydsM0z/logo/iris-logo-light.svg?fit=max\u0026auto=format\u0026n=sf57Llzo3wydsM0z\u0026q=85\u0026s=20fb61681b3e42c47263c92983df3be6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.iriscode.co#website\",\"name\":\"Iris Code\",\"url\":\"https://docs.iriscode.co\",\"publisher\":{\"@id\":\"https://docs.iriscode.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.iriscode.co/configuration/vscode-settings#webpage\",\"url\":\"https://docs.iriscode.co/configuration/vscode-settings\",\"name\":\"VS Code settings: every iris.* option\",\"description\":\"All iris.* settings available in VS Code's settings UI (Ctrl+,). Configure thresholds, detection toggles, and display options per machine.\",\"dateModified\":\"2026-11-03T16:39:51.103Z\",\"isPartOf\":{\"@id\":\"https://docs.iriscode.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.iriscode.co/configuration/vscode-settings#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.iriscode.co/configuration/vscode-settings#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Configuration\",\"item\":\"https://docs.iriscode.co/configuration/irisconfig\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"VS Code settings: every iris.* option\",\"item\":\"https://docs.iriscode.co/configuration/vscode-settings\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.iriscode.co/configuration/vscode-settings#article\",\"headline\":\"VS Code settings: every iris.* option\",\"name\":\"VS Code settings: every iris.* option\",\"description\":\"All iris.* settings available in VS Code's settings UI (Ctrl+,). Configure thresholds, detection toggles, and display options per machine.\",\"url\":\"https://docs.iriscode.co/configuration/vscode-settings\",\"mainEntityOfPage\":{\"@id\":\"https://docs.iriscode.co/configuration/vscode-settings#webpage\"},\"dateModified\":\"2026-11-03T16:39:51.103Z\",\"publisher\":{\"@id\":\"https://docs.iriscode.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.iriscode.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Iris Code\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Iris Code\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/configuration/vscode-settings.md","siteName":"Iris Code","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Start here","pages":[{"title":"Iris Code: code checks for you and your coding agents","sidebarTitle":"Home","href":""},{"title":"Quick start: install Iris Code and review your first project","sidebarTitle":"Quick start","href":"/quickstart"},{"title":"Install Iris Code in an editor or terminal","sidebarTitle":"Installation","href":"/installation"},{"title":"Iris Code Playground: try the analysis and gate in your browser","sidebarTitle":"Playground","href":"/playground"},{"title":"Free project actions and saved results","sidebarTitle":"Free allowances","href":"/free"},{"title":"Iris Code Pro: rescan workspaces and enforce project standards","sidebarTitle":"Iris Code Pro","href":"/pro"}]},{"group":"What Iris Code finds","pages":[{"title":"File analysis: understand scores, findings, and function metrics","sidebarTitle":"File analysis","href":"/features/file-analysis"},{"title":"Review My Changes: check your Git changes before anyone else does","sidebarTitle":"Review My Changes","href":"/features/change-review"},{"title":"Verification integrity: catch changes that weaken your checks","sidebarTitle":"Verification integrity","href":"/features/verification-integrity"},{"title":"Workspace analysis: find project-wide risks and trends","sidebarTitle":"Workspace analysis","href":"/features/workspace-analysis"},{"title":"Shareable scan reports","href":"/features/shareable-report"},{"title":"Code Map: see code health across a repository","sidebarTitle":"Code Map","href":"/features/code-map"},{"title":"Schema graph","href":"/features/schema-graph"},{"title":"Hardcoded secrets: find passwords and keys written into your code","sidebarTitle":"Hardcoded secrets","href":"/features/hardcoded-secrets"},{"title":"Security smells: nine risky code patterns Iris Code checks for","sidebarTitle":"Security smells","href":"/features/security-smells"},{"title":"Duplicate code detection: find, compare and limit copy-paste","sidebarTitle":"Duplicate detection","href":"/features/duplicate-detection"},{"title":"Git history secrets scan: find credentials your history still remembers","sidebarTitle":"Git history secrets","href":"/features/git-history-secrets"},{"title":"Quality signals","sidebarTitle":"Quality signals","href":"/features/quality-signals"},{"title":"Inline diagnostics: squiggles and Problems panel entries","sidebarTitle":"Inline diagnostics","href":"/features/inline-diagnostics"},{"title":"Dependents table: audit npm, Go, Python, RubyGems, NuGet, Cargo, and Maven packages","sidebarTitle":"Dependents table","href":"/features/dependents-table"},{"title":"Supported languages: TypeScript, JavaScript, Vue, Svelte, Go, Python, Ruby, C#, Java, Rust","sidebarTitle":"Language support","href":"/features/language-support"}]},{"group":"Blocking bad code","tag":"New","pages":[{"title":"Gate Preview: see how your project would score before you enforce a standard","sidebarTitle":"Gate Preview","href":"/enforcement/gate-preview"},{"title":"Git hook: check configured standards before every push","sidebarTitle":"Git hook","href":"/enforcement/git-hook"},{"title":"Build gate: check project standards before compilation","sidebarTitle":"Build gate","href":"/enforcement/build-gate"},{"title":"GitHub Actions: enforce Iris Code project standards in CI","sidebarTitle":"GitHub Actions","href":"/enforcement/github-actions"},{"title":"Slack notifications for gate runs","sidebarTitle":"Slack notifications","href":"/enforcement/slack-notifications"},{"title":"Inline suppressions: silence a finding with a documented reason","sidebarTitle":"Suppressions","href":"/enforcement/suppressions"}]},{"group":"Refactor playbook","tag":"New","pages":[{"title":"Refactor playbook","sidebarTitle":"Overview","href":"/refactor/overview"},{"title":"Fixes and suggestions reference","sidebarTitle":"Fixes and suggestions","href":"/refactor/reference"},{"title":"Project conventions","sidebarTitle":"Conventions","href":"/refactor/conventions"},{"title":"Verifying a refactor","sidebarTitle":"Verification","href":"/refactor/verification"},{"title":"Refactor configuration","sidebarTitle":"Configuration","href":"/refactor/configuration"},{"title":"Using refactor plans with an agent","sidebarTitle":"Agent integration","href":"/refactor/agents"},{"title":"Refactor language coverage","sidebarTitle":"Language coverage","href":"/refactor/language-coverage"}]},{"group":"Cloud scanning","tag":"New","pages":[{"title":"Iris Code Cloud: scan GitHub repositories without an editor open","sidebarTitle":"Cloud overview","href":"/cloud/overview"},{"title":"Connecting GitHub: the Iris Code app, permissions and revoking access","sidebarTitle":"Connecting GitHub","href":"/cloud/connect-github"},{"title":"Audit triggers: merges, pull requests and what each one costs","sidebarTitle":"Audit triggers","href":"/cloud/triggers"},{"title":"Scan allowances: how many cloud scans you get, and how they are counted","sidebarTitle":"Scan allowances","href":"/cloud/allowances"}]},{"group":"Teams","tag":"New","pages":[{"title":"Iris Code Teams: shared standards, projects and a record of results","sidebarTitle":"Teams overview","href":"/teams/overview"},{"title":"Roll Iris Code out across an engineering team","sidebarTitle":"Rollout guide","href":"/teams/rollout"},{"title":"Control what coding agents can use and review pre-push records","sidebarTitle":"Governance","href":"/teams/governance"},{"title":"Teams seats and billing: per-seat pricing, seat changes and renewals","sidebarTitle":"Seats and billing","href":"/teams/seats-and-billing"},{"title":"Team entitlement: how a seat grants Pro, and what a personal subscription adds","sidebarTitle":"Team entitlement","href":"/teams/entitlement"}]},{"group":"Configuration","pages":[{"title":"Configure shared project standards with .irisconfig.json","sidebarTitle":".irisconfig.json","href":"/configuration/irisconfig"},{"title":"Configuration keys: every .irisconfig.json setting","sidebarTitle":"All configuration keys","href":"/configuration/keys"},{"title":"File naming conventions","href":"/configuration/file-naming"},{"title":"Config Studio: build and sync your Iris Code config visually","sidebarTitle":"Config Studio","href":"/configuration/config-studio"},{"title":"Custom scoring weights: tune the health score for your team","sidebarTitle":"Scoring weights","description":"Choose how many points each kind of finding takes off the health score, using healthScoreWeights in .irisconfig.json. Available when signed in.","href":"/configuration/scoring-weights"},{"title":"VS Code settings: every iris.* option","sidebarTitle":"VS Code settings","href":"/configuration/vscode-settings"}]},{"group":"Working with AI agents","tag":"New","pages":[{"title":"Project rules: generate agent instructions from your Iris Code config","sidebarTitle":"Project rules","description":"Use iris rules to write the project's configured limits, naming conventions, and gate rules into the instruction files supported coding agents already read.","href":"/agents/project-rules"},{"title":"Package Guard: check a package before it is installed","sidebarTitle":"Package guard","href":"/agents/package-guard"},{"title":"MCP server: give coding agents your project rules and findings","sidebarTitle":"MCP server","href":"/agents/mcp"}]},{"group":"Editors","pages":[{"title":"Editor support and feature parity","sidebarTitle":"Overview","href":"/editors/overview"},{"title":"Iris Code in VS Code","sidebarTitle":"VS Code","href":"/editors/vscode"},{"title":"Iris Code in Cursor, Windsurf, VSCodium, Trae and Positron","sidebarTitle":"VS Code forks","href":"/editors/forks"},{"title":"Iris Code in JetBrains IDEs","sidebarTitle":"JetBrains","href":"/editors/jetbrains"},{"title":"Neovim, Helix and other LSP editors","sidebarTitle":"Other LSP editors","href":"/editors/lsp"}]},{"group":"Reference","pages":[{"title":"Iris Code CLI: check your code from the terminal","sidebarTitle":"Overview","href":"/cli/overview"},{"title":"Iris Code CLI command reference","sidebarTitle":"Commands","href":"/cli/commands"},{"title":"Sign in to the Iris Code CLI with your browser or a token","sidebarTitle":"Authentication","href":"/cli/auth"},{"title":"Use Iris Code in GitHub Actions, GitLab CI, and shell pipelines","sidebarTitle":"CI integration","href":"/cli/ci"},{"title":"Iris Code VS Code Command Palette and context menu reference","sidebarTitle":"VS Code commands","href":"/reference/commands"},{"title":"Health score and complexity: how Iris Code calculates both","sidebarTitle":"Scoring \u0026 metrics","href":"/reference/scoring"},{"title":"Terminology: one name per thing in Iris Code","sidebarTitle":"Terminology","href":"/reference/terminology"},{"title":"Accuracy benchmark: how Iris Code measures its own rules","sidebarTitle":"Accuracy benchmark","href":"/trust/accuracy-benchmark"},{"title":"Iris Code security, privacy, and support","href":"/trust/security-and-support"},{"title":"Iris Code Changelog: VS Code, JetBrains, and CLI Release Notes","sidebarTitle":"Changelog","href":"/changelog"}]}]}]},"basePath":"","title":"VS Code settings: every iris.* option - Iris Code","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}