You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature is now available for all lists and new trees. You still need to provide a TypeLabelProvider when creating your list/tree, just like what Isidor Nikolic (@isidorn) has done for debug in 64addbd.
Reacted by Sandeep Somavarapu, Andre Weinand and Isidor Nikolic
Activity
jrieken commentedon Dec 3, 2018
check out this https://github.com/Microsoft/vscode/blob/8ff7181ee758ebf391954ffe802bda59e372f3c3/src/vs/platform/list/browser/listService.ts#L710 and the beefy part which is this: https://github.com/Microsoft/vscode/blob/8ff7181ee758ebf391954ffe802bda59e372f3c3/src/vs/platform/list/browser/listService.ts#L667. Trick is to redirect the key event, while its down, to an input box
joaomoreno commentedon Dec 3, 2018
Thanks!
Edit: links are broken tho :P
jrieken commentedon Dec 3, 2018
Needed to push
joaomoreno commentedon Dec 12, 2018
Here's a cool demo:
This feature is now available for all lists and new trees. You still need to provide a
TypeLabelProviderwhen creating your list/tree, just like what Isidor Nikolic (@isidorn) has done for debug in 64addbd.weinand commentedon Dec 12, 2018
João Moreno (@joaomoreno) Cool feature, but the name
TypeLabelProvideris a bit misleading.And
KeyboardNavigationLabelProvideris a bit long...joaomoreno commentedon Dec 12, 2018
Went with
KeyboardNavigationLabelProvider, not really worried about the length. 👍