Does this issue occur when all extensions are disabled?: Yes/No
no - it needs the Java Extension Pack
- VS Code Version: 1.134.0
- OS Version: MacOS 27
Description:
When a new VS Code window is opened with no folder/workspace, the command “Java: Create Java Project” (via Maven archetype) fails before project generation begins. The command requires the terminal but the terminal cannot be launched, and VS Code reports:
The terminal process failed to launch: Cannot launch a terminal process in an empty workspace with cwd /Users/alvin/stuff/dev/-test different from userHome /Users/alvin.
I think the guard is an error in this case because an obvious action that a user wants to perform after creating a new window is to create a new project. The guard prevents that.
Steps to Reproduce:
- Open a new VS Code window with no folder/workspace
- Run “Java: Create Java Project”
- Select the "Maven" option, then "More" to select the archetype.
- (!) Answer the questions and try to create the project. Project creation fails with the above error.
Does this issue occur when all extensions are disabled?: Yes/No
no - it needs the Java Extension Pack
Description:
When a new VS Code window is opened with no folder/workspace, the command “Java: Create Java Project” (via Maven archetype) fails before project generation begins. The command requires the terminal but the terminal cannot be launched, and VS Code reports:
I think the guard is an error in this case because an obvious action that a user wants to perform after creating a new window is to create a new project. The guard prevents that.
Steps to Reproduce: