Allow tabs to be renamed (without saving)
Instead of a new tabs always being named "Query n", allow the tab to be renamed without saving it to a file first. I think it would also make sense to not allow renaming of a tab from a file that was loaded.
This feature is now available in LINQPad 6. Use the context menu option, or press Shift+F2.
-
Phil Bridge commented
I frequently, all the time, use linqpad to forensically test multiple conditions in our code. This testing process evolves and branches as time and testing goes by. Currently I have 36 tabs open in three project areas of testing. I really really need to name these things because not all of the tabs are save level objects but functional routes. Please let us name without saving, and if you could provide a tree view on the left for all queries I will find you and give you beer. Or cake.
-
P. Alexander Schofield commented
I know this is an old suggestion, but as someone who routinely works with over dozen open queries spread out over several databases and a handful of servers I would like to say that being able to right-click on an unsaved query and give it some short but meaningful name would be a huge win; even if the rename did not survive a crash. This would also be great for after you've cloned an existing (saved) query.
-
Goyuix commented
As an add-on to this idea, it would be nice to provide a tooltip when hovering over a tab to display the full path to the script.