vscode: "Open with Code" context menu option opens two instances if you don't have any workspace created or didn't have one opened in previous session
- VSCode Version: 1.33.1
- OS Version: Windows 10 Version 1809
Steps to Reproduce:
- Fresh install VS Code
- Right click on a folder or on the background of Windows explorer and select “Open with Code”
Or,
- Remove any existing workspace from the VS Code explorer (so that the explorer is empty)
- Close VS Code
- Right click on a folder or on the background of Windows explorer and select “Open with Code”
Or,
- Open a folder (not a workspace) in the VS Code explorer
- Close VS Code
- Right click on a folder or on the background of Windows explorer and select “Open with Code”
As I tried to test, I found some other scenarios too when this happens. I could not pin-point them all, but every time it is related to not having any workspace created or not having any workspace (not folder) opened in previous session. I hope this helps.
Does this issue occur when all extensions are disabled?: Yes
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (8 by maintainers)
@bpasero I really didn’t expect to consider the empty explorer an Untitled Workspace. But, I get it now. Thanks a lot for your time 😃
@bpasero OK, I think I’m starting to get the picture. Because most of the time I myself use VS Code the way you described. So, I’m considering this a “by design”.