
The completion logic is currently limited to the first two words of a command. For commands that take multiple arguments, like tether <technology> <on/off> ..., hitting TAB after the second word will not provide the correct suggestions (e.g., it will suggest technologies again instead of 'on'/'off'). Additionally, the check at lines 188-190 prevents any completion if the current line ends with a space, which hinders discovering the next argument.
Originally posted by @gemini-code-assist[bot] in #38 (comment)
The completion logic is currently limited to the first two words of a command. For commands that take multiple arguments, like
tether <technology> <on/off> ..., hitting TAB after the second word will not provide the correct suggestions (e.g., it will suggest technologies again instead of 'on'/'off'). Additionally, the check at lines 188-190 prevents any completion if the current line ends with a space, which hinders discovering the next argument.Originally posted by @gemini-code-assist[bot] in #38 (comment)