Change Integrated Terminal title in vscode

前端 未结 3 1583
情歌与酒
情歌与酒 2021-01-03 20:23

We can open command prompt in vscode by using the Integrated Terminal feature in View menu.

We can even open multiple terminals as shown be

相关标签:
3条回答
  • 2021-01-03 20:35

    Press in windows Ctrl + Shift + P and after type: Terminal: Rename, there you can change the terminal name/title

    0 讨论(0)
  • 2021-01-03 20:44

    Sometimes, plugins will remove default keyboard shortcut bindings.

    Look for "terminal.rename" in keyboard shortcuts then edit the keyboard shortcut to your preferred shortcut.

    To apply your shortcut, make sure your cursor is focus in edit part of the window before you key in. Not at the terminal part.

    0 讨论(0)
  • 2021-01-03 20:51

    In v1.41 there is a new command which can be used like so:

    {
      "key": "ctrl+t",
      "command": "workbench.action.terminal.renameWithArg",
      "args": {
          "name": "remote"
      }
    }
    

    if you have some frequently used name, like "remote" or "build" that you use often.

    0 讨论(0)
提交回复
热议问题