Commit e2ba5c5
committed
fix: keep directory separators visible when filtering npm scripts
The "Debug npm script" quick pick groups scripts by directory using
separators in multi-root / monorepo workspaces. The quick pick sorts by
match position while filtering (the default), so typing a filter reorders
items across groups and drops the separators - the user can no longer tell
which package each script belongs to.
Disable match sorting only when scripts span multiple directories, so the
separators stay attached to their groups while filtering. Single-directory
pickers keep the default match sorting.1 parent 2df2f9d commit e2ba5c5
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
0 commit comments