racket / drracket

DrRacket, IDE for Racket
http://www.racket-lang.org/
Other
444 stars 93 forks source link

[Feature Request] Separate tab to new window #570

Open a11ce opened 1 year ago

a11ce commented 1 year ago

Is your feature request related to a problem? Please describe.

Sometimes I have two files open in different tabs of the same window, and would like to have them visible at the same time. This is very common because DrRacket will default to adding a tab to an existing window when opening a new file.

Describe the solution you'd like

The ability to separate a tab to a new window. This could be a keybind, and/or ideally happen when a tab is dragged up/down from the list of tabs (like in Firefox/etc). Also helpful would be an option for DrRacket to open files in their own windows, and the ability to combine windows into one tabbed window.

Describe alternatives you've considered

Currently, if I have a file open in DrRacket and want to open another one in a different window, I first create a new window (whose blank file is then replaced).

spdegabrielle commented 1 year ago

Someone recently also asked about Side by side editing as seen is VScode https://code.visualstudio.com/docs/getstarted/userinterface

NB DrRacket has a split capability, but that is a different view on the same file (also very useful)

Metaxal commented 1 year ago

There's a small quickscript to move a tab to a new window: https://gist.github.com/Metaxal/bfef2b3ee77f3e40aa449d87851dbf81

It doesn't do the converse operation though.

(More quickscripts to consider here, along with installation instructions.)