Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
timchambers
1 month agoOccasional Contributor
1Password Environments issue with VSCode and Claude Code Extension
I've noticed a curious issue in testing 1Password Environments in a repository where I'm editing with VSCode and using the Claude Code extension in VSCode.
Since enabling 1P Environments, I've noticed that the Source Control sidebar gets stuck refreshing Git Status, and Claude Code slows or stalls. Running Claude Code outside of VSCode works fine (as does using Git in Terminal, and so I wonder if this is a VSCode issue?
I have the VSCode 1Password extension, as well as the Claude Code for VSCode extension, among others. Happy to provide other details if you can let me know what would help.
4 Replies
- timchambersOccasional Contributor
Without using the Claude Code extension in VSCode, I was seeing the source control spinner, but I wasn't noticing any other ill effects. Outside of VSCode I wasn't having any problems with Claude Code via Terminal, so this does seem to be VSCode-specific. Just odd that the CC extension becomes unusably slow!
- 1P_Phil
Moderator
Hi timchambers ,
Thanks for reaching out. VSCode does some funky caching on their side and we have seen scenarios where VSCode paired with Environments gets wonky, but we have been doing our best to tune out the issues on our side.
Were you having the same user experience without Claude Code? Is this specific to Claude Code or VSCode or only when they are used togther?
Thanks,
Phil- andeke07New Contributor
I am finding this as well:
- Open VSCode
- look at my .env file
- 1Password prompts me for my password, once authorised I can see my .env file
- Close the .env file and open something else in the directory
- Launch Claude Code
- At this point, I can't open my .env file any more. Claude Code seems to have opened it and made it inaccessible to any other process
- My source control icon in the sidebar gets a permanent "refreshing" icon even if I close the .env and close the Claude Code chat
- Only solution is to Quit VS Code and open again
- timchambersOccasional Contributor
andeke07 thanks for these repro steps, these reproduce for me today, too!
1P_Phil to answer your question, the source control spinning indicator happens with and without Claude Code. The Claude Code slowness happens after the above repro steps with any action/prompt in Claude Code. Claude Code is basically unusable at this point, and it appears the .env file is continually trying to regenerate after this until quitting VSCode.