mill icon indicating copy to clipboard operation
mill copied to clipboard

Shell autocompletions do not work after a `show` argument.

Open souvlakias opened this issue 3 months ago • 1 comments

Example (Using zsh): ./mill show app.co<tab>does not complete to app.compile Is this expected?

souvlakias avatar Aug 29 '25 11:08 souvlakias

I think it's expected given the current implementation, as def show takes tasks: String* so the autocomplete logic doesn't know it should treat the arguments as tasks

There may be some ways we can improve upon this though, maybe by adding additional annotations on tasks so Mill knows it's a tasks: String contains task selectors and not just arbitrary strings

lihaoyi avatar Aug 29 '25 11:08 lihaoyi