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
Feel free to improvise testing by changing that view testView.ts.
Change the vscode.engine to * in package.json before doing npm install to get latest vscode.d.ts and revert it back.
Launch the extension
Expand option in reveal API
You can now expand an element while revealing it. You can also recursively expand the element's descendants maximum up to 3 levels.
There is a command contribution in testView.ts that reveals an element when you provide a label
vscode.commands.registerCommand('testView.reveal',async()=>{constkey=awaitvscode.window.showInputBox({placeHolder: 'Type the label of the item to reveal'});if(key){awaitview.reveal({ key },{focus: true,select: false,expand: true});}});
Tweak expand value to boolean or number and verify expansion is working as expected.
Collapse All action (Proposed)
You can now have a collapse all action for your tree view by passing showCollapseAll flag to true while creating the view.
Testing #55879 #61313
Complexity: 3
Set Up
Test View
to explorertestView.ts
.vscode.engine
to*
inpackage.json
before doingnpm install
to get latestvscode.d.ts
and revert it back.Expand option in
reveal
APIYou can now expand an element while revealing it. You can also recursively expand the element's descendants maximum up to 3 levels.
testView.ts
that reveals an element when you provide a labelexpand
value to boolean or number and verify expansion is working as expected.Collapse All action (Proposed)
You can now have a collapse all action for your tree view by passing
showCollapseAll
flag totrue
while creating the view.Label Highlights (Proposed)
You can now provide ranges of the label to highlight
The text was updated successfully, but these errors were encountered: