Open richardreeve opened 7 years ago
Pasting based on mode was added to the base REPL in 1.7 (https://github.com/JuliaLang/julia/pull/40604), though it's currently undocumented (https://github.com/JuliaLang/julia/pull/49377), and works with OhMyREPL too (at least in 1.8 and 1.9 which is what I've tried -- and I had to update from 0.5.13 to 0.5.20 for it to work properly).
Prompt pasting is broken in OhMyREPL v0.5.24 on Julia 1.11.0-alpha2 and Julia 1.9.4 on asahi linux in VSCode. It works without OhMyREPL.
The prompt pasting support now in base is great, but it would be even better if it could recognise REPL modes. In particular where you have an example of language switching, such as after loading
RCall
:If I paste that into the REPL, I get:
and it would be great if it respected the mode switches and so just worked as well...