File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -108,9 +108,8 @@ const toggleQuickPickItem = async (
108108 itemsLength : number ,
109109 quickPick : NumberQuickPick
110110) => {
111- for ( let itemInd = 1 ; itemInd <= itemsLength ; itemInd ++ ) {
112- await commands . executeCommand ( 'workbench.action.quickOpenSelectNext' )
113-
111+ for ( let itemInd = 1 ; itemInd <= itemsLength + 1 ; itemInd ++ ) {
112+ await commands . executeCommand ( 'workbench.action.quickOpenNavigateNext' )
114113 if ( itemInd === number ) {
115114 const selectionEvent = getQuickPickSelectionEvent ( quickPick , numberInd )
116115 await commands . executeCommand ( 'workbench.action.quickPickManyToggle' )
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ suite('Quick Pick Test Suite', () => {
142142 } )
143143 } )
144144
145- describe ( 'quickPickUserOrderedValues' , ( ) => {
145+ describe . only ( 'quickPickUserOrderedValues' , ( ) => {
146146 it ( 'should return selected values in the order that the user selected' , async ( ) => {
147147 const quickPick = disposable . track (
148148 window . createQuickPick < QuickPickItemWithValue < number > > ( )
You can’t perform that action at this time.
0 commit comments