Author Topic: File tab collection  (Read 1118 times)

dunkers

  • Senior Community Member
  • Posts: 776
  • Hero Points: 36
File tab collection
« on: August 20, 2023, 02:32:16 PM »
Surely someone else must've asked for this before, but a search hasn't turned up anything...

I start editing in a project and open a file or two. As time goes on I open more files, and before long the list of open files is wider than the Slickedit window - instead of just clicking one of those tabs (in the file tab toolbar) I resort to popping open the projects toolbar to select a file! So eventually I will remove tabs I've not opened for some time, and then curse when it turns out to be the file I want next.

So, my request is for file tab collections. What I envision is some popup dialog which will let you save the currently open files and tabs under some user-defined name (note: this is the list of files and tabs, not saving the contents of the files). At some point the user can pop up the dialog and select a previously saved set of files/tabs which will replace the ones currently open/showing for the project.

Perhaps an additional option in workspace properties might do it too or instead.

Graeme

  • Senior Community Member
  • Posts: 2801
  • Hero Points: 347
Re: File tab collection
« Reply #1 on: August 21, 2023, 09:06:29 AM »
macros save_named_files and load_named_files might do what you want
https://community.slickedit.com/index.php/topic,17865.msg69981.html#msg69981

also, when you need to close some files, probably you already know, but if you set file tab sort order to "most recently viewed", you can close files that you haven't viewed for a while.  Another thing is that at the right hand end of the file tabs there is a drop-down list that shows you all the files you have open in that window.
« Last Edit: August 21, 2023, 09:39:44 AM by Graeme »

dunkers

  • Senior Community Member
  • Posts: 776
  • Hero Points: 36
Re: File tab collection
« Reply #2 on: August 21, 2023, 12:39:39 PM »
Ah! save-named-files (which you told me about before, but which I wasn't looking for then) seems to do exactly the right job. Thanks!

I know about the drop down on the right, but it's not that useful (except where you have so many files open you can't see them all on the tab bar). You can't, for instance, multi-select to close. So initially I thought I just wanted a better and quicker way to reduce the number - F3 in the tab bar works, but it just reduces the number and doesn't discriminate which files are being closed (unless you take your time over it). But then I realised I wanted a specific set so it's opening stuff as well as closing. Perhaps having a defined set depending on which part of the project I'm working on, and the xxx-named-files macros do that.