Use completing-read-multiple
for multiple files selection
#72
Labels
enhancement
New feature or request
completing-read-multiple
for multiple files selection
#72
I would prefer if the package used
completing-read-multiple
inpython-pytest--select-test-files
rather than justcompleting-read
in a while loop with an extra candidate to finish completion. Inpython-pytest--select-test-files
, the final part of the function body could be simplified to(completing-read-multiple "Choose test files: " candidates)
. The user can then just use normal interactive completion to select a file and if they want to select multiple files, they just enter a comma or whatever their value ofcrm-separator
is. The advantage is that it requires less user inputs if the user just wants to select a single file or diretory and you don't need to rely on the user finding the special "finish completion" candidate.The text was updated successfully, but these errors were encountered: