[JBoss JIRA] (FORGE-1554) Autocomplete should populate required options without requiring users to key in the option names
by Ståle Pedersen (JIRA)
[ https://issues.jboss.org/browse/FORGE-1554?page=com.atlassian.jira.plugin... ]
Ståle Pedersen commented on FORGE-1554:
---------------------------------------
yes.
try to run AeshExample and enter: "prompt "<tab>, it will then autocomplete the only option there since the command has not defined any arguments.
> Autocomplete should populate required options without requiring users to key in the option names
> ------------------------------------------------------------------------------------------------
>
> Key: FORGE-1554
> URL: https://issues.jboss.org/browse/FORGE-1554
> Project: Forge
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: UI - Shell
> Affects Versions: 2.0.0.Final
> Reporter: Vineet Reynolds
> Fix For: 2.x Future
>
>
> When I key in {{project-new <TAB>}} I expect to see the shell populate the {{--named}} option, since it is a mandatory option.
> This was the behavior in Forge 1. {{new-project <TAB>}} will auto-complete to {{new-project --named}}. It makes me productive (personal opinion), by not requiring me to key in the option names of commands that are mandatory.
> Note that this issue is limited in scope to ensuring that mandatory parameter names are completed on TAB.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1554) Autocomplete should populate required options without requiring users to key in the option names
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1554?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-1554:
----------------------------------------
Just for the record: As for "defined arguments" you mean anything that is not bound to an option? Eg: {{ls *.txt}} where the defined argument is {{*.txt}}.
The idea here is that _required_ options would be autocompleted automatically when <TAB> is pressed, I may be wrong but Aesh doesn't seem to autocomplete option names when TAB is pressed after a command name
> Autocomplete should populate required options without requiring users to key in the option names
> ------------------------------------------------------------------------------------------------
>
> Key: FORGE-1554
> URL: https://issues.jboss.org/browse/FORGE-1554
> Project: Forge
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: UI - Shell
> Affects Versions: 2.0.0.Final
> Reporter: Vineet Reynolds
> Fix For: 2.x Future
>
>
> When I key in {{project-new <TAB>}} I expect to see the shell populate the {{--named}} option, since it is a mandatory option.
> This was the behavior in Forge 1. {{new-project <TAB>}} will auto-complete to {{new-project --named}}. It makes me productive (personal opinion), by not requiring me to key in the option names of commands that are mandatory.
> Note that this issue is limited in scope to ensuring that mandatory parameter names are completed on TAB.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1554) Autocomplete should populate required options without requiring users to key in the option names
by Ståle Pedersen (JIRA)
[ https://issues.jboss.org/browse/FORGE-1554?page=com.atlassian.jira.plugin... ]
Ståle Pedersen commented on FORGE-1554:
---------------------------------------
well, if the command have defined arguments its just a bad design to do this. atm æsh will autocomplete options IF there are no arguments defined for that command.
so for the example above, it should autocomplete all the different options when pressing tab. if that doesnt work, then file a bug since it should. - but only if there are no arguments defined as i said :)
> Autocomplete should populate required options without requiring users to key in the option names
> ------------------------------------------------------------------------------------------------
>
> Key: FORGE-1554
> URL: https://issues.jboss.org/browse/FORGE-1554
> Project: Forge
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: UI - Shell
> Affects Versions: 2.0.0.Final
> Reporter: Vineet Reynolds
> Fix For: 2.x Future
>
>
> When I key in {{project-new <TAB>}} I expect to see the shell populate the {{--named}} option, since it is a mandatory option.
> This was the behavior in Forge 1. {{new-project <TAB>}} will auto-complete to {{new-project --named}}. It makes me productive (personal opinion), by not requiring me to key in the option names of commands that are mandatory.
> Note that this issue is limited in scope to ensuring that mandatory parameter names are completed on TAB.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1554) Autocomplete should populate required options without requiring users to key in the option names
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1554?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-1554:
----------------------------------------
Is there any way we could override that behavior? I agree with Vineet that this makes Forge users productive.
> Autocomplete should populate required options without requiring users to key in the option names
> ------------------------------------------------------------------------------------------------
>
> Key: FORGE-1554
> URL: https://issues.jboss.org/browse/FORGE-1554
> Project: Forge
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: UI - Shell
> Affects Versions: 2.0.0.Final
> Reporter: Vineet Reynolds
> Fix For: 2.x Future
>
>
> When I key in {{project-new <TAB>}} I expect to see the shell populate the {{--named}} option, since it is a mandatory option.
> This was the behavior in Forge 1. {{new-project <TAB>}} will auto-complete to {{new-project --named}}. It makes me productive (personal opinion), by not requiring me to key in the option names of commands that are mandatory.
> Note that this issue is limited in scope to ensuring that mandatory parameter names are completed on TAB.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1554) Autocomplete should populate required options without requiring users to key in the option names
by Ståle Pedersen (JIRA)
[ https://issues.jboss.org/browse/FORGE-1554?page=com.atlassian.jira.plugin... ]
Ståle Pedersen commented on FORGE-1554:
---------------------------------------
the default behaviour in bash is to only auto complete options when you type - or --, that is why it works this way in æsh.
> Autocomplete should populate required options without requiring users to key in the option names
> ------------------------------------------------------------------------------------------------
>
> Key: FORGE-1554
> URL: https://issues.jboss.org/browse/FORGE-1554
> Project: Forge
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: UI - Shell
> Affects Versions: 2.0.0.Final
> Reporter: Vineet Reynolds
> Fix For: 2.x Future
>
>
> When I key in {{project-new <TAB>}} I expect to see the shell populate the {{--named}} option, since it is a mandatory option.
> This was the behavior in Forge 1. {{new-project <TAB>}} will auto-complete to {{new-project --named}}. It makes me productive (personal opinion), by not requiring me to key in the option names of commands that are mandatory.
> Note that this issue is limited in scope to ensuring that mandatory parameter names are completed on TAB.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months