Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcut key for calling function list #593

Closed
vscpp opened this issue Mar 27, 2017 · 3 comments
Closed

Shortcut key for calling function list #593

vscpp opened this issue Mar 27, 2017 · 3 comments

Comments

@vscpp
Copy link

vscpp commented Mar 27, 2017

May I know what's the keyboard shortcut for calling function list? Thanks.

Like below picture, click the function name in status bar.
image

Then below function list will appear here.
image

@sean-mcmanus
Copy link
Contributor

We never added an external command or keybinding for that, but you can add one yourself by modifying the package.json file in the root of the extensions folder by replacing lines:
{ "command": "C_Cpp.SwitchHeaderSource", "title": "C/Cpp: Switch Header/Source" } ], "keybindings": [ { "command": "C_Cpp.SwitchHeaderSource", "key": "Alt+O", "when": "editorTextFocus" } ],
with
{ "command": "C_Cpp.SwitchHeaderSource", "title": "C/Cpp: Switch Header/Source" }, { "command": "C_Cpp.Navigate", "title": "C/Cpp: Navigate" } ], "keybindings": [ { "command": "C_Cpp.SwitchHeaderSource", "key": "Alt+O", "when": "editorTextFocus" }, { "command": "C_Cpp.Navigate", "key": "Alt+F2", "when": "editorTextFocus" } ],.

We'll add that in a future version.

@bobbrow
Copy link
Member

bobbrow commented Apr 25, 2017

We added an ALT+N keybinding in v.0.11.0 to open up this list.

@bobbrow bobbrow closed this as completed Apr 25, 2017
@vscpp
Copy link
Author

vscpp commented Apr 26, 2017

@sean-mcmanus, @bobbrow, Thanks very much for your effort. 👍

@sean-mcmanus sean-mcmanus removed their assignment Apr 22, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants