command-flow icon indicating copy to clipboard operation
command-flow copied to clipboard

Add tab-completion for Flags and Switches

Open MCMDEV opened this issue 2 years ago • 1 comments

Tab-Completion for Flags and Switches are a useful feature for advanced commands, but are still left out quite often because of implementation difficulties.

Suggestions should switch to flags/switches as soon as the user types the '-' symbol. All the available flag/switch names should be listed then. When a flag is chosen, the completion should switch be handled by the Part again. If it's a switch, it should just switch back to normal completion.

MCMDEV avatar Aug 22 '21 21:08 MCMDEV

Ok, that's actually a good idea, but to do that possible we need to implement the flags/switches with some sort of special treatment on the SequentialCommandPart (or other "collector" parts like that).

FixedDev avatar Aug 22 '21 21:08 FixedDev