question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The -print-lines option disables tab completion in REPL

See original GitHub issue

Originally reported in https://github.com/sbt/sbt/issues/6780 by @jhnaldo

Compiler version

3.1.0

Minimized code

$ scala3-repl -print-lines
Welcome to Scala 3.1.0 (1.8.0_275, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.
                                                                                
scala> val hello = 42
     |val hello: Int = 42
                                                                                
scala>hel<TAB>

Tab completion does not work.

Expectation

Tab completion should work when -print-lines is turned on.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tgodzikcommented, Mar 23, 2022

This should be great for the Spree

0reactions
SethTisuecommented, Sep 6, 2022

Seem to be fixed in 3.2.0. I can reproduce it with scala-cli repl -S 3.1.0 -O -print-lines but not with scala-cli repl -S 3.2.0 -O -print-lines.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Temporarily disable tab completion in Scala Repl
I occasionally work with code that has hard tabs instead of spaces. Is there any repl command to instruct the interpreter to process...
Read more >
How do I Disable auto-complete?
Open Settings 01 · Scroll down · Click that arrow after Code Intelligence 02 · From Enabled, Make it disabled 03 ...
Read more >
Auto complete not working
The problem I have is that the auto complete does not work (as stated in the title) eventhough I have the "code intelligence"...
Read more >
How to turn auto complete for python
Auto complete was working fine suddenly stopped. Strange. ... A Python repl by Krishsubash ... Go into settings (the gear icon) and enable...
Read more >
Autocomplete not working
I have a few students that autocomplete does not fill in when they are typing in their style.css file. How to I get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found