You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow to use Ctrl P/N for up and down navigation in quick open #7876
Attempt to move up/down the list with ctrl+p and ctrl+n
I installed the latest version of VS Code (1.2.1) on El Capitan. When I used the Atom (and ST2?) text editor and invoked the command palette I could cursor up/down the list using ctrl+p/ctrl+n.
For example, if I launch the command palette and search for extension I get the following list:
Extensions: Install Extension
Extensions: Show Extension Recommendations
Extensions: Show Installed Extensions
Extensions: Show Outdated Extensions
If I want to get to 'Show Installed Extensions' I would press ctrl+n twice in Atom. When I try doing this with VS Code nothing happens. In looking at the Default Keyboard Shortcuts there are:
changed the title [-]VS Code Command Palette Navigation Not Working on OSX[/-][+]Implement Ctrl P/N for up and down navigation in tree / quick open[/+]on Jul 6, 2016
I added new commands workbench.action.quickOpenSelectNext and workbench.action.quickOpenSelectPrevious which on macOS are bound to Ctrl+N and Ctrl+P by default and work only when quick open is visible.
The difference to the commands workbench.action.quickOpenNavigateNext and workbench.action.quickOpenNavigatePrevious is that upon releasing the key, the item will be opened.
Johannes Rieken (@jrieken) no this is actually behaviour we have ever since quick navigation in quick open to make João Moreno (@joaomoreno) happy because he uses Cmd+E to bring up quick open and another Cmd+E to quickly open the element.
I removed Cmd+P and Cmd+E to select and execute the command when quick open is visible. The commands are still there if someone wants to keep it. Also fixes #10957
Activity
joaomoreno commentedon Jun 21, 2016
Fix: implement Ctrl P and Ctrl N for Up and Down.
[-]VS Code Command Palette Navigation Not Working on OSX[/-][+]Implement Ctrl P/N for up and down navigation in tree / quick open[/+]joaomoreno commentedon Jul 6, 2016
Fixed by #7316
12 remaining items
bpasero commentedon Jan 19, 2017
I added new commands
workbench.action.quickOpenSelectNextandworkbench.action.quickOpenSelectPreviouswhich on macOS are bound toCtrl+NandCtrl+Pby default and work only when quick open is visible.The difference to the commands
workbench.action.quickOpenNavigateNextandworkbench.action.quickOpenNavigatePreviousis that upon releasing the key, the item will be opened.bpasero commentedon Jan 23, 2017
On macOS you can use Ctrl+N and Ctrl+P to navigate inside the opened quick open up and down, similar to arrow up and arrow down.
jrieken commentedon Jan 24, 2017
Benjamin Pasero (@bpasero) also
cmd+pnavigates in quick open (instead of changing the quick open topic to open file). Is that a regression from this?bpasero commentedon Jan 24, 2017
Johannes Rieken (@jrieken) no this is actually behaviour we have ever since quick navigation in quick open to make João Moreno (@joaomoreno) happy because he uses
Cmd+Eto bring up quick open and anotherCmd+Eto quickly open the element.Can be controlled via
{ "key": "cmd+p", "command": "workbench.action.quickOpenNavigateNext", "when": "inQuickOpen" }jrieken commentedon Jan 24, 2017
Unsure how this is related to
cmd+e? I am talking aboutcmd+p. Do the followingbpasero commentedon Jan 25, 2017
I removed
Cmd+PandCmd+Eto select and execute the command when quick open is visible. The commands are still there if someone wants to keep it. Also fixes #10957danielmoi commentedon Feb 2, 2017
Thank you for this fix Benjamin Pasero (@bpasero) – my favourite feature in this release!
Allow to use Ctrl P/N for up and down navigation in quick open (fixes m…