Skip to content

workbench.action.terminal.new should accept cwd as an argument #79133

@Tyriar

Description

@Tyriar

I cannot deprecate terminal here just yet because people want to be able to configure keybindings to do both open in workspace root and current file's directory.

Allowing configuring cwd via keybindings would fix this:

{
  "key": "ctrl+shift+`",
  "command": "workbench.action.terminal.new",
  "args": {
    "cwd": "${fileDirname}"
  }
}

See https://twitter.com/borekb/status/1161229132627402752

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesterminalGeneral terminal issues that don't fall under another labelverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions