-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeededworkbench-cliVS Code Command line issuesVS Code Command line issues
Milestone
Description
- VSCode Version: 1.26.0
- OS Version: macOS
Steps to Reproduce:
- run
code ''in command line. - VS Code seems opened a workspace of current directory folder, like
code .
Does this issue occur when all extensions are disabled?: Yes
Reason the above behavior is improper
When I run some command like code "$(some command to get the file)" (e.g. code "$(which "$1")" in Linux), if the inner command failed, it return empty string as argument. VSCode shouldn't open current directory and replace the workspace (which is annoying), but should just open or focus the application instead.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeededworkbench-cliVS Code Command line issuesVS Code Command line issues