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 a IDEasy user, I want to use auto-completion so that I can type faster and avoid typos.
Therefore I expect to get all matching versions of a tool properly suggested e.g. when completing ide install aws 2.1.
As we can see completing 2.1 only suggests versions that match 2.1* (starting with 2.1.) but this is not what the user wants.
Instead it should also match versions such as 2.17.1 or 2.16.12 just to give a few missing examples.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
see above, you can also run ide shell and use embedded auto-completion.
I have the feeling that this is related to the semantic sorting of versions (2.17.0, 2.16.0, ..., 2.1.0, 2.1.1) and the binary search in combination with the lexicographic matching (and startsWith) in completion (2.1 should match 2.17 and 2.16 but those are in the sorted list before 2.1 so only the versions from 2.1 in the sort order are considered)
Affected version:
current version (2024.06.002-alpha-SNAPSHOT)
The text was updated successfully, but these errors were encountered:
Expected behavior
As a IDEasy user, I want to use auto-completion so that I can type faster and avoid typos.
Therefore I expect to get all matching versions of a tool properly suggested e.g. when completing
ide install aws 2.1
.Actual behavior
As we can see completing
2.1
only suggests versions that match2.1*
(starting with2.1.
) but this is not what the user wants.Instead it should also match versions such as
2.17.1
or2.16.12
just to give a few missing examples.Steps to reproduce (bug) / Use Case of feature request (enhancement)
ide shell
and use embedded auto-completion.Related/Dependent Issues
Comments/Hints:
I have the feeling that this is related to the semantic sorting of versions (2.17.0, 2.16.0, ..., 2.1.0, 2.1.1) and the binary search in combination with the lexicographic matching (and
startsWith
) in completion (2.1 should match 2.17 and 2.16 but those are in the sorted list before 2.1 so only the versions from 2.1 in the sort order are considered)Affected version:
The text was updated successfully, but these errors were encountered: