-
Notifications
You must be signed in to change notification settings - Fork 38.4k
Closed
Labels
Milestone
Description
Refs: #129528
- anyOS @kimadeline
- anyOS @hediet
Complexity: 4
For inline hints we added the ability to have them be composed out of different parts and for those parts to be interactive, e.g they can be link and can have a context menu.
This test plan item requires to author an extension and this sample should help you get started: https://github.com/jrieken/test-inlayhints. For markdown files, this sample puts foo in front of "bar" and puts bar after "foo". It also finds all "definitions" of the foo-word.
- make yourself familiar with the sample
- make your self familiar with the inlay hint API proposal, esp with
InlayHintLabelPart - tweak the sample, e.g by adding a command to a label part, add tooltips to label parts, etc
- test that tooltips for inlay hints and label parts show (both can have tooltips)
- test that hints with an attached source location invoke go to definition as link (ctrl/cmd+click)
- test that hints with an attached source location have a context menu
- test that hints with an attached source location show the language specific hover for the location
- test that hints with an attached command have a link gesture
- test that hints with an attached command and source location behave properly
Reactions are currently unavailable
