File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ export namespace TreeUtils {
4646 }
4747 }
4848
49- // Eagerly update ancestor directory checkbox states from bottom to top.
50- // With manageCheckboxStateManually, we must set directory states before refresh
51- // rather than relying solely on getTreeItem(), since VS Code may not apply
52- // checkboxState changes returned from getTreeItem() during a refresh.
49+ // Eagerly update ancestor directory checkbox states by walking from each
50+ // affected file up through its parent directories. With manageCheckboxStateManually,
51+ // we must set directory states before refresh rather than relying solely on
52+ // getTreeItem(), since VS Code may not apply checkboxState changes during a refresh.
5353 const allAffected = [ ...checkedNodes , ...uncheckedNodes ] ;
5454 for ( const node of allAffected ) {
5555 let parent = node . getParent ( ) ;
You can’t perform that action at this time.
0 commit comments