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

Need a shortcut for toggle the docstring when the mouse is inside the function call brackets #137793

Closed
Raibows opened this issue Nov 24, 2021 · 3 comments
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@Raibows
Copy link

Raibows commented Nov 24, 2021

Hi:
I use vscode with python official extension. When you call a function call, that will be a docstring toggled above, which helps you type the following params. But there doesn't exist a shortcut for manually toggle the docstring again when the cursor(mouse) inside the function call brackets(). The shortcut for "show Hover" only works when you move your mouse to the function name, that's very inconvenient.
You are typing your params and you want to toggle or hide the docstring mannually but not moving your mouse to the function name then show up it.
image

Any help would be much appreciated! Thank you!

@Raibows
Copy link
Author

Raibows commented Nov 24, 2021

Hi! Thanks for your comment. Thectrl+k plus ctrl+I is a default key binding for "show hover" and as I mentioned it will not work when your mouse is inside a function call brackets.

@jrieken
Copy link
Member

jrieken commented Nov 24, 2021

The command is called editor.action.triggerParameterHints and its default keybinding is shift+cmd+space

@jrieken jrieken added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Nov 24, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

3 participants
@jrieken @Raibows and others