Skip to content

Always show "detail" field for debug adapter completions #278113

@DanTup

Description

@DanTup

Edit: Turns out this was WAI - it's only showing the detail field for the highlighted row.

So please consider this a request to be able to always show the detail, since that's what many languages do in the editor now, and it's useful to show something like the type against a variable.


Original bug report:

My debug adapter contributes a completion like this:

{
	label: "myVariable",
	text: "myVariable",
	detail: "the detail field",
	type: "field",
},

If I invoke completion without typing anything, I see this with the detail. If I type "m" to filter, then it retains its detail field. However, if I then press <esc> and then re-trigger completion, it now shows up without the detail field being rendered:

dap_missing_detail.mp4

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions