News for hackers. Stuff that matters.
Re:Visual Studio Code 1.6 by tsaprailis on Tuesday October 11, 2016 @05:15AM (#12682725)
This might sound like a weird question, but after a lot of search I found no keyboard shortcut to toggle between the editor and integrated terminal. It sound like a I'm picky but it's a bit of a timewaster to have to pick up the mouse just to switch from editor to the integrated terminal. A most I could use an external terminal window but that kinda defeats the purpose of having an integrated one I think. Is there such a key binding?
Re:Visual Studio Code 1.6 by Already__Taken on Tuesday October 11, 2016 @08:21AM (#12683648)
Other commenters aren't answering this. ctrl+` hides or opens the terminal. If you want to leave it open there's no command to toggle only your cursor focus from editor to terminal.

edit: I take it back, It's just not bound.{"key": "ctrl+#", "command": "workbench.action.terminal.focus"}

But you can't move the focus back with that toggle.

https://code.visualstudio.com/docs/editor/integrated-termina...

Re:Visual Studio Code 1.6 by kwood on Tuesday October 11, 2016 @08:50AM (#12683862)
Good point! I already have double pressing the terminal toggle in my muscle memory, using focus might be worth changing that habit.

To "get out" of the terminal, cmd+1 sets focus on the editor again (to be precise: focus on the first editor group if there is a split view).

Re:Visual Studio Code 1.6 by tsaprailis on Tuesday October 11, 2016 @04:10PM (#12688095)
Yes, thanks very much! I actually had those too, as a backup but I think different combinations for opening and closing (or in this case toggling into terminal, and back into the editor) are more cumbersome than simply opening/closing.
Re:Visual Studio Code 1.6 by Already__Taken on Tuesday October 11, 2016 @10:41AM (#12684800)
Ooh good spot. Thank you.
Re:Visual Studio Code 1.6 by kwood on Tuesday October 11, 2016 @05:45AM (#12682812)
What you're really looking for is exactly 1 shortcut: cmd+shift-p (or ctrl-shift-p, depending on the platform) for the command palette, where you can fuzzy search for every available command.

If a command has a keyboard shortcut (toggle terminal has one), it's in that list. It even shows your custom shortcuts.

Re:Visual Studio Code 1.6 by tsaprailis on Tuesday October 11, 2016 @06:01AM (#12682868)
Thanks for the feedback. I had assigned a different shortcut to "ctrl+`" so I was getting a different result that toggle.
Re:Visual Studio Code 1.6 by CaRDiaK on Tuesday October 11, 2016 @05:18AM (#12682735)
Re:Visual Studio Code 1.6 by socmag on Tuesday October 11, 2016 @06:10AM (#12682900)
Ctrl-~?