This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Local workaround for https://github.com/anthropics/claude-code/issues/59083 | |
| # Patches the Claude Code VSCode extension to stop auto-attaching the | |
| # currently-open editor file as <ide_opened_file> context. | |
| # <ide_selection> (manual selection) is preserved, as are @-mentions. | |
| # | |
| # Tested against extension version 2.1.141. Reapply after each update. | |
| # Reload the VSCode window (Cmd/Ctrl+R) after running. | |
| # Revert: copy webview/index.js.bak back over webview/index.js. |