diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-09-02 14:44:56 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-09-23 15:43:50 +1000 |
commit | 9f8961c58a01e83cf4bc782ac03dd9919983ce30 (patch) | |
tree | 07e7cea7780ddf2583b89db2440e488974a6c609 /src/repl/scala/tools/nsc/interpreter/ILoop.scala | |
parent | df704ef7389ff6265afc1278783489ee97ee4ce7 (diff) | |
download | scala-9f8961c58a01e83cf4bc782ac03dd9919983ce30.tar.gz scala-9f8961c58a01e83cf4bc782ac03dd9919983ce30.tar.bz2 scala-9f8961c58a01e83cf4bc782ac03dd9919983ce30.zip |
Remove the old REPL tab completion implementation
We kept it around behind an option in 2.11.x, but we can
jettison it in 2.12.x.
Diffstat (limited to 'src/repl/scala/tools/nsc/interpreter/ILoop.scala')
-rw-r--r-- | src/repl/scala/tools/nsc/interpreter/ILoop.scala | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/repl/scala/tools/nsc/interpreter/ILoop.scala b/src/repl/scala/tools/nsc/interpreter/ILoop.scala index 6721ff6dd6..5851aa88df 100644 --- a/src/repl/scala/tools/nsc/interpreter/ILoop.scala +++ b/src/repl/scala/tools/nsc/interpreter/ILoop.scala @@ -840,12 +840,7 @@ class ILoop(in0: Option[BufferedReader], protected val out: JPrintWriter) } def mkReader(maker: ReaderMaker) = maker { () => - settings.completion.value match { - case _ if settings.noCompletion => NoCompletion - case "none" => NoCompletion - case "adhoc" => new JLineCompletion(intp) // JLineCompletion is a misnomer; it's not tied to jline - case "pc" | _ => new PresentationCompilerCompleter(intp) - } + if (settings.noCompletion) NoCompletion else new PresentationCompilerCompleter(intp) } def internalClass(kind: String) = s"scala.tools.nsc.interpreter.$kind.InteractiveReader" |