When I activate suggestions by pressing ctrl+space, I get a list of suggestions and Javadoc for the highlighted suggestion.
suggestion list with javadoc popup for highlighted suggestion
If I click the X – circled in red – the popup is hidden and won’t appear next time I activate suggestions.
suggestion list with no javadoc popup
The only way I have found to restore the javadoc popup is to mouse over to the end of the highlighted suggestion and click on the Read More icon – circled in red.
suggestion list with Read More icon
Does Visual Studio Code have keyboard shortcuts, or can I create shortcuts, that will hide and restore the Javadoc popup?
I have searched settings and keyboard shortcuts and haven’t found any predefined shortcuts
2
Answers
VS Code does not have built-in shortcut to hide and restore to Javadoc popup.
Retrigger it with Ctrl+Space or cmd +Space on macOS
vscode doesn’t have a built-in shortcut to hide and unhide the
javadoc
popup. You can useCtrl+Space
to trigger it. Or create a custom shortcut. Start by selecting theFile
, openPreferences
, and tap on thekeyboard shortcuts
.In the page that opens, select the
Open keyboard shortcuts (JSON)
button. You can add custom shortcuts to the file. For example: