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
I am using JLine3 with an SQL command line app. The completion is sorting the candidates in the lenght order. Is it possible to simple sort them alphabetical ? Maybe I am doing something wrong ? Below a sample output and the Class I am using for completion.
Candidate implements java.lang.Comparable and the default way of sorting is defined in org.jline.reader.Candidate#compareTo.
You need to extends from Candidate and override this method in a way you like and use your extension instead of Candidate
I am using JLine3 with an SQL command line app. The completion is sorting the candidates in the lenght order. Is it possible to simple sort them alphabetical ? Maybe I am doing something wrong ? Below a sample output and the Class I am using for completion.
`public class SQLCompleter implements Completer {
}`
The text was updated successfully, but these errors were encountered: