[jboss-jira] [JBoss JIRA] (WFCORE-1627) CLI tab comple should reflect curent position of prompt

Chao Wang (JIRA) issues at jboss.org
Wed Jun 29 05:34:01 EDT 2016


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

Chao Wang moved JBEAP-5142 to WFCORE-1627:
------------------------------------------

              Project: WildFly Core  (was: JBoss Enterprise Application Platform)
                  Key: WFCORE-1627  (was: JBEAP-5142)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: CLI
                           (was: CLI)
       Target Release:   (was: 7.backlog.GA)
    Affects Version/s: 3.0.0.Alpha2
                           (was: 7.0.0.GA)


> CLI tab comple should reflect curent position of prompt
> -------------------------------------------------------
>
>                 Key: WFCORE-1627
>                 URL: https://issues.jboss.org/browse/WFCORE-1627
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.0.0.Alpha2
>            Reporter: Chao Wang
>            Assignee: Chao Wang
>
> CLI tab completion cannot be used in the middle of the command. Whole command is taken as a context, ignoring the current position of prompt. Auto-completed string is inserted to the current position of the prompt (no matter it can be placed in the middle of the command).
> [] is used to show the current position of the prompt
> *actual*
> tab completion in the middle doesn't work
> {noformat}
> /subsystem=loggin[]<TAB>/root-logger=ROOT
> /subsystem=loggin[]/root-logger=ROOT
> {noformat}
> tab completion with prompt in the middle
> {noformat}
> /subsystem=logging/[]<TAB>root-logger=R
> /subsystem=logging/ROOT[]root-logger=R
> {noformat}
> *expected*
> tab completion in the middle works
> {noformat}
> /subsystem=loggin[]<TAB>/root-logger=ROOT
> /subsystem=logging[]/root-logger=ROOT
> {noformat}
> tab completion with prompt in the middle doesn't add anything unless it's a valid part of the command
> {noformat}
> /subsystem=logging/[]<TAB>root-logger=R
> /subsystem=logging/[]root-logger=R
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list