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
Flag for the open command to show a single picker for multiple dirs.
- The picker root is the common prefix path of all directories.
- Shows an error if non-directories are supplied.
- Flag naming seemed difficult, but I ended up with "single_picker" (-s). Happy to change that if someone has a better idea.
Future work:
- multiplex between filename and directory completers based on flag presence
The main motivation for this are large mono-repos, where each developer cares about a certain subset of directories that they tend to work in, which are not under a common root.
This was previously discussed in #11589, but flags seem like an obvious and better alternative to the ideas presented in #11589 (comment).
0 commit comments