Skip to content

REPL: tab completion: results are unordered when tabbing immediately after . #12280

Closed
@SethTisue

Description

@SethTisue

if I type at least one character, completions are in alphabetical order, as expected:

scala 2.13.4> "foo".a<TAB>
addString(                 andThen(                   appendedAll(               applyOrElse(
aggregate(  (deprecated)   appended(                  apply(                     asInstanceOf (universal)

but if I tab immediately after ., they aren't:

scala 2.13.4> "foo".<TAB>
toCharArray()                       empty                               formatted(            (universal)               takeWhile(                          prefixLength(        (deprecated)   takeRight(                                      unapply(                            view                                filterNot(                                      toByte                              inits                               unzip(                                          andThen(                            toUpperCase()                       notify()              (universal)               patch(                              lazyZip(                            partitionMap(                                   iterator                            codePoints()                        toLongOption                                    prependedAll(                       last                                map(                                            toDouble                            unzip3(                             ++(                                             trim()                              count(                              :\(                  (deprecated)               mkString                            eq(                   (universal)   product(                                        sortBy(                             reverseIterator                     max(                                            equ
...

what the hell?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions