{"version":"2.1.326","anchor":"artifact-docs-auto-open-in-vs-code-with-env-opt-out","canonical_anchor":"artifact-docs-auto-open-in-vs-code-with-env-opt-out","heading":"New artifacts open in VS Code when it is running Claude Code","tier":"notice","area":"Artifacts","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/artifact-docs-auto-open-in-vs-code-with-env-opt-out","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### New artifacts open in VS Code when it is running Claude Code\n\nWhen Claude Code runs inside VS Code, a newly created artifact is now opened there, unless CLAUDE_CODE_ARTIFACT_AUTO_OPEN turns opening off\n\n**What**\n\nWhen Claude Code runs inside VS Code and creates an artifact, it now asks VS Code to open the artifact. This happens when the usual way of opening it was skipped because VS Code is the host.\n\nIt does not happen:\n\n- when you are using remote control\n\n- when `CLAUDE_CODE_ARTIFACT_AUTO_OPEN` is set to turn automatic opening off\n\nPreviously Claude Code only reported why the first attempt to open it was skipped.\n\n**Why**\n\nIn VS Code, new artifacts now appear on their own instead of not opening at all. The same environment variable that stops automatic opening elsewhere also stops this.\n\n- Area: Artifacts\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}