You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an IDEasy shell user I want to get the offer to exit the autocompletion mode when I type 'e'.
ATTENTION: For bash completion it does not make sense to suggest exit for completion of e since exit is not a commandlet and ide exit does not make any sense. Hence for the shell specific suggestion this needs to be implemented in a special way.
Hints:
A good start would be to use the AggregateCompleter like this in the ShellCommandlet.java:
Completer completer = new AggregateCompleter(
new StringsCompleter("exit"), new IdeCompleter((AbstractIdeContext) this.context));
* 'main' of github.com:blizzarac/IDEasy:
devonfw#533: Add autocompletion of exit in ide shell (devonfw#707)
Update advanced-tooling-windows.adoc
simplify FlagProperty usage and allow ToolCommandlets to have long options (devonfw#644)
Update CHANGELOG.adoc: prepare 2024.10.001
devonfw#685: update dependencies, added missing deps to LICENSE.adoc, doc rework, jakarta migration (devonfw#686)
devonfw#689: Added urls to tests (devonfw#695)
As an IDEasy
shell
user I want to get the offer to exit the autocompletion mode when I type 'e'.ATTENTION: For bash completion it does not make sense to suggest
exit
for completion ofe
sinceexit
is not a commandlet andide exit
does not make any sense. Hence for the shell specific suggestion this needs to be implemented in a special way.Hints:
A good start would be to use the
AggregateCompleter
like this in theShellCommandlet.java
:We could also try to use the
SystemRegistry
as this already has anexit
command.https://github.com/jline/jline3/wiki/Command-Registries#systemregistry
The text was updated successfully, but these errors were encountered: