microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.99k stars 29.19k forks source link

Allow multi-select for REPL / interactive window #225736

Open c3danielxu opened 2 months ago

c3danielxu commented 2 months ago

Currently there is multi-select enabled for VS Code notebooks:

Screenshot 2024-08-15 at 3 09 06 PM

It would be great to have this in REPL / interactive window as well and would help boost developer productivity. Right now, it is not supported:

Screenshot 2024-08-15 at 3 09 24 PM
Yoyokrazy commented 2 months ago

@amunger what kind of editor type is the repl cell? Nothing special was done to the standard editor cells in notebooks to enable multiselect, they just have the feature due to it being a standard monaco editor. I think this might be more related to the editor config of the repl cell editor?

I might think about this during the work to hook up cmd+d across cells, but given that you can't edit previously run cells in repl/interactive windows, I'm not sure what the ask here is.

amunger commented 2 months ago

whoops, sorry, misunderstood the request. I think this should be supported with the work in https://github.com/microsoft/vscode/issues/154983

c3danielxu commented 2 months ago

given that you can't edit previously run cells in repl/interactive windows, I'm not sure what the ask here is

Let me clarify, the ask is for editing the current "cell" in interactive windows, the one with the run button.