- About Scala
- In the Enterprise
- Scala Community
- Language Research
- In the Press
- The Scala Team
- Scala's Prehistory
- Contact Us
- Learning Scala
- Tour of Scala
- Scala API
- Setup & Getting Started
- Programming Guides
- Other Guides
- Code Examples
- Scala Developers
:paste and history in the REPL
Thu, 2011-08-04, 19:22
I love :paste. I use it many times a day.
It occurred to me today that stuff pasted into the REPL via :paste
probably shouldn't become part of the history when you up-arrow through
it. I'm typically pasting 5 or 10 or 20 or 50 lines of code, and it's
annoying to have to up-arrow through all that stuff to get to the last
expression I actually typed myself with my fingers.
Would this change be a bad idea for some reason? If I opened a ticket,
would it just get closed as invalid for some reason I'm not seeing...?
I can imagine this might not be totally trivial to implement since
:paste'd code should certainly be considered part of the history for
:replay purposes, just not for up-arrow-ing purposes.