[jboss-jira] [JBoss JIRA] (WFCORE-416) Inconsistent tab completion behaviour between commands and arguments

Brian Stansberry (JIRA) issues at jboss.org
Mon Dec 1 16:56:47 EST 2014


     [ https://issues.jboss.org/browse/WFCORE-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry moved WFLY-932 to WFCORE-416:
----------------------------------------------

        Project: WildFly Core  (was: WildFly)
            Key: WFCORE-416  (was: WFLY-932)
    Component/s: CLI
                     (was: CLI)


> Inconsistent tab completion behaviour between commands and arguments
> --------------------------------------------------------------------
>
>                 Key: WFCORE-416
>                 URL: https://issues.jboss.org/browse/WFCORE-416
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Jeff Mesnil
>            Assignee: Jeff Mesnil
>            Priority: Minor
>
> When tab is used for completion, the behavior changes when there is only 1 remaining candidate.
> For commands, when the completion leads to a single candidate, a whitespace is appended and we can proceed to the arguments
> For arguments using a TabCompleter, when the completion leads to a single candidate, no whitespace is appended and we have to type it to be able to proceed to the next argument
>  
> Example:
> * deployment-over<TAB>
> => will complete to deployment-overlay<WHITESPACE><CURSOR> (a whitespace is appended to the single candidate)
> * deployment-overlay a<TAB>
> => will complete to deployment-overlay add<CURSOR> (no whitespace appended even though add is the only candidate matched) 



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list