Reputation: 1
Is there a way to programmatically trigger only the documentation box ( highlighted in the below image ) with some contents?
A CompletionItemProvider with documentation will show a list of suggested items and when we click the show more icon, it will show the documentation of a particular suggestion item. however, I would like to show the documentation directly with some keypress. we can assign some programmatic behaviour to key press. but is there a way to trigger only the documentation box with some contents?
a code snippet will be appreciated.
Upvotes: 0
Views: 451
Reputation: 53502
No, this is not possible. Instead similar information is shown provided by the hover provider, when you move the mouse over a function call in the code.
Upvotes: 0