[
https://issues.jboss.org/browse/SRAMP-408?page=com.atlassian.jira.plugin....
]
Eric Wittmann edited comment on SRAMP-408 at 4/25/14 9:00 AM:
--------------------------------------------------------------
Tab completion for the "property" command doesn't work as expected. If I
type "property " and then hit tab, I get the list of sub-commands as expected.
However if I then type "s" (for the 'set' sub-command) and hit tab I get
this:
{code}
s-ramp> property
set unset
s-ramp> property s set
{code}
This same problem happens for the "classification" command:
{code}
s-ramp> classification
clear remove add
s-ramp> classification r remove
{code}
It's also an issue for the third argument in the command. If I type "property
set de" and then hit tab, it should complete the line as "property set
description " but instead I get:
{code}
s-ramp> property set
description name version
s-ramp> property set de description
{code}
was (Author: eric.wittmann):
Tab completion for the "property" command doesn't work as expected. If
I type "property " and then hit tab, I get the list of sub-commands as expected.
However if I then type "s" (for the 'set' sub-command) and hit tab I
get this:
{code}
s-ramp> property
set unset
s-ramp> property s set
{code}
This same problem happens for the "classification" command:
{code}
s-ramp> classification
clear remove add
s-ramp> classification r remove
{code}
Tab completion no longer works in s-ramp CLI
--------------------------------------------
Key: SRAMP-408
URL:
https://issues.jboss.org/browse/SRAMP-408
Project: S-RAMP
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Eric Wittmann
Assignee: David virgil naranjo
Fix For: 0.5.0 - API Management
The recent change to using AESH has broken tab-completion. For example, I typed the
following:
{code}
s-ramp> conn
{code}
Then I hit "tab" and I got this:
{code}
s-ramp> connmp:connect
{code}
And the cursor was placed three spaces beyond "connect". After that tab
didn't work at all because the command wasn't recognized (obviously).
If I type s-ramp:connect manually and *then* hit tab, I get this:
{code}
s-ramp> s-ramp:connect t:8080/s-ramp-server
{code}
Also tab-completion of just the namespace adds an extra space at the end. If I back up
one and use tab, I get the list of commands in the namespace but it won't actually
complete any of them.
So I think there is some fundamental problem with the tab completion. I tested on
Windows cygwin. I will now go test on Fedora.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira