The -print-lines option disables tab completion in REPL
See original GitHub issueOriginally 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:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This should be great for the Spree
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 withscala-cli repl -S 3.2.0 -O -print-lines
.