-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS Code through Windows Explorer integration doesn't function if there is another instance of VS Code already open #3180
Comments
I am also experiencing the same problem. However i seem to have this issue in one machine, but not in another even though the both have the same VS Code version. |
I think this is intentional behavior since Code doesn't launch two instances for the same folder. Related discussion #48 |
@Tyriar that isn't the behavior I'm seeing. You say for the same folder. The second instance launch attempt could/would be for a totally different folder. That's the problem. Folder1 is open in VSCode instance1, trying to open Folder2 for a 2nd VSCode instance from Windows Explorer fails. |
@tstringer Windows 10? |
@bpasero That's correct, Windows 10. |
very likely #929 |
@bpasero I don't believe this is #929. I'm on Windows 10 and have Code open for a folder ( (It's not isolated to this time, I've never been able to open a second instance, not even by clicking the "New Window" task under VS Code from the Taskbar, or middle-clicking on it!) |
Ok, figured this out - it happens when the instance of Code already open is elevated - I launched it from an Admin PoSh window. If I open it as non-Admin then I don't see this behaviour. It definitely doesn't make sense to behave like this; let me know if I should open a new issue or you'll just reuse this one. |
If you already have VS Code open (either with an open folder/file or an empty window), if you try to open up a second instance of VS Code by right-clicking on a file/folder in Windows Explorer and click Open with Code, nothing happens. The desired functionality would be for opening files/folders through Windows Explorer integration to function even if there are already opened instances of VS Code.
Repro Steps
The text was updated successfully, but these errors were encountered: