microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.41k stars 29.33k forks source link

Request feature "Integrated terminal" #143

Closed kkdai closed 8 years ago

kkdai commented 8 years ago

It would be great if vscode has integrated terminal feature refer vim or atom https://atom.io/packages/term3

I saw this suggestion pending in uservoice(https://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7752357-integrated-terminal) and repost here since it has specific repo

Tyriar commented 8 years ago

After trying again on Windows 10 with the new cmd, it seems to work just fine. As such I think I'll make the default %COMSPEC% which points at cmd by default. This makes it consistent with the open in (external) terminal command. https://github.com/Microsoft/vscode/issues/6886

builden commented 8 years ago

in chinese system show confusiton code image

Version 1.2.0 insider

Tyriar commented 8 years ago

@builden What does it show when you run the same command in the native terminal outside of vscode?

builden commented 8 years ago

@Tyriar image

Tyriar commented 8 years ago

@builden thanks, looks like the CJK chars are stacked on top of each other. Looks like it was just filed here https://github.com/Microsoft/vscode/issues/7036

builden commented 8 years ago

@Tyriar Great have another question: { "key": "ctrl+`", "command": "workbench.action.terminal.toggleTerminal" }, this shortcut is invalidation

Tyriar commented 8 years ago

@builden what keyboard layout are you using?

builden commented 8 years ago

@Tyriar like this image

Tyriar commented 8 years ago

@builden So the key next to 1 doesn't work? Works from the testing I've done on Mac/Windows/Linux using US keyboard layout (which seems to be the same).

builden commented 8 years ago

@Tyriar i change shortcut string can work fine image

builden commented 8 years ago

@Tyriar I have find the reason, ctrl+` have used by other application

Tyriar commented 8 years ago

@builden was it cmder that's using the keybinding?

builden commented 8 years ago

@Tyriar It's my Chinese input application "QQ Pinyin"

Tyriar commented 8 years ago

@builden ah, I think that's pretty command for keybindings to break when an IME is active.

builden commented 8 years ago

@Tyriar I have closed the IME keybinding, but another person is hard to find which app have binded the command

willin commented 8 years ago

@Tyriar how to use in os x

{ "key": "ctrl+shift+t",          "command": "launcher.terminal" }

no use

builden commented 8 years ago

@Tyriar In Windows, I can't copy string from terminal page, I think this feature is necessary

Tyriar commented 8 years ago

@willin try this:

{ "key": "ctrl+shift+t", "command": "workbench.action.terminal.toggleTerminal" },

@builden polishing the copy and paste experience is planned for the June release https://github.com/Microsoft/vscode/issues/6451

Tyriar commented 8 years ago

Thanks everyone for your contributions! I'm going to lock the conversation to prevent pinging all the participants for smaller issues. If you find any other problems please check out the existing issue list and create a new one if necessary.

Tyriar commented 8 years ago

See https://github.com/Microsoft/vscode/issues/7302#issuecomment-225097257 for the proposed default keybindings used by the terminal.

Tyriar commented 8 years ago

You can see a glimpse of what's coming in v1.3.0 in the June test plan: https://github.com/Microsoft/vscode/issues/8222