vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Shortcut key for calling function list

Open vscpp opened this issue 9 years ago • 3 comments

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

vscpp avatar Mar 27 '17 04:03 vscpp

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.

sean-mcmanus avatar Mar 27 '17 16:03 sean-mcmanus

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

bobbrow avatar Apr 25 '17 17:04 bobbrow

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

vscpp avatar Apr 26 '17 01:04 vscpp