Coder Social home page Coder Social logo

saveallthetabs's Introduction

Save All the Tabs for Visual Studio

Quickly save and restore sets of document tabs. Save All the Tabs supports Visual Studio 2013 / 2015 / 2017.

Why you need Save All the Tabs?

Have you ever wished you could save all your opened documents before switching context to start working on something else? Or wished you could quickly switch between different distinct areas of a project; save your tabs before switching branches; save tabs for each feature/bug/PR (Pull Request) you are working on to quickly switch between them?

If you answered yes to any of those questions, then Save All the Tabs is for you!

How to use Save All the Tabs?

Save All the Tabs adds new commands to the Visual Studio Window menu and a Saved Tabs dockable window.

Save All the Tabs Commands

Commands

  • Save Tabs... Ctrl+D, Ctrl+S - saves the current set of opened document tabs
  • Restore Tabs menu - displays a list of the favorited (1-9) sets of document tabs
    • Ctrl+D, 1 through Ctrl+D, 9 - closes all the opened documents and opens the selected set of document tabs
  • Stash Tabs Ctrl+D, Ctrl+C - stashes (saves to a well-known name, <stash>) the current set of opened documents tabs
  • Restore Stashed Tabs Ctrl+D, Ctrl+Z or Ctrl+D, ` - closes all the opened documents and opens the stashed (<stash>) set of documents tabs
  • Saved Tabs Window Ctrl+D, Ctrl+W - opens the Saved Tabs window

Saved Tabs Window

Open the Saved Tabs window to quickly and easily manage your sets of saved document tabs. From here you can add new tabs sets, rename or delete existing tab sets. You can also double-click on a saved tab set to restore it.

Saved Tabs Window

Toolbar Commands

  • New Tab Set - adds a new tab set containing the set of opened document tabs
  • Save Tabs to Selected Set - replaces the selected tab set with the set of opened document tabs
  • Restore Tabs - closes all the opened documents and opens the selected set of saved document tabs
  • Open Tabs - opens the selected set of saved document tabs
  • Close Tabs - closes any opened documents if it is contained within the selected set of saved document tabs
  • Delete - deletes the selected tab set

Shortcut Keys

  • Enter - closes all the opened documents and opens the set of saved document tabs
  • 1 through 9 - assigns a favorite number to the selected tab set
  • Ctrl+UpArrow - moves the selected tab set up
  • Ctrl+DownArrow - moves the selected tab set down
  • Delete - deletes the selected tab set

saveallthetabs's People

Contributors

eamodio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

saveallthetabs's Issues

Does not restore a non-VS tab

I have some tabs open, which are not VS solution items. External files.

This addon does not restore them. I assume it only restores solution items.

Please consider adding this.

Caused VS 2015 Community to Freeze post build

I don't know what the specific conflict that the solution I am working on has that caused this issue, but once I installed this tool, VS would literally lock up and become unresponsive after I did a rebuild. Rebuild was successful, and VS became un-responsive.

Disabling the tool, and VS no longer freezes after a build.

It's probably not super useful, but I attached a screenshot of the Event from the Event Viewer.

This issue is being submitted instead of a negative review, I like the idea, and would have liked to use the tool, but breaking VS is a deal breaker (obviously).

Good Luck!
vs-hang

Suggestion: Keep window split info

I often split my windows so I can view two parts of the same file ... but nothing saves the information on what the split heights are or where the two scroll-points are.

It'd be a fantastic improvement if this saved that info, as well!

VS2019

Any chance for an update for VS2019? This is one of my favourite features. I constantly use it to save the main tabs across 2 monitors I need for a given project. Perfect for resetting to a baseline of classes when I go off on a tangent.

Save Tabs Window Breaks

Whenever I go to open the 'Saved Tabs Window', Visual Studio throws this error: 'Exception has been thrown by the target of an invocation." Any ideas as to why this would happen?

Keyboard shortcut conflicts

The Ctrl+D, Ctrl+* keyboard shortcuts overwrite the ReSharper Ctrl+D shortcut to duplicate a line, which I use often. From time to time I have restored the ReSharper shortcut, but the SATT ones seem to keep coming back. Any chance of an option to disable the shortcuts?

No actions visible in VS Community 2017 15.8.0

After installing the addon I see no menu items under the file menu as described in the readme. I also do not see/find the commands when creating a toolbar. I also don't find the Saved Tabes window under the view menu.

Is it supposed to work? Or did it possibly break on newer VS versions?

Catastrophic failure - Saving any new tab set

Attempting to save a new tab set causes a Catastrophic Failure message to appear in VS 2017. After trying to save again, the following error happens and VS crashes and restarts.

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.COMException
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32, IntPtr)
   at Microsoft.VisualStudio.Shell.Settings.ShellWritableSettingsStore.SetString(System.String, System.String, System.String)
   at SaveAllTheTabs.DocumentManager.SaveGroupsForSolution(System.Collections.Generic.IList`1<SaveAllTheTabs.DocumentGroup>)
   at SaveAllTheTabs.DocumentManager.<LoadGroups>b__25_2(System.Reactive.EventPattern`1<System.ComponentModel.PropertyChangedEventArgs>)
   at System.Reactive.AnonymousSafeObserver`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnNext(System.__Canon)
   at System.Reactive.Concurrency.ObserveOn`1+ObserveOnSink[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnNextPosted(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

Visual Studio Info:
Microsoft Visual Studio Professional 2017
Version 15.9.21
VisualStudio.15.Release/15.9.21+28307.1064
Microsoft .NET Framework
Version 4.8.03761
Save All the Tabs 1.0
SaveAllTheTabs Visual Studio Package Detailed Info

System Info:
Windows 10 Pro x64
32GB - RAM
Intel i9-8950HK @ 2.9GHz

Breaks VS2017 GUI

After enabling this extension, all icons from VS2017 GUI disappear. Disabling the extension solves the problem

Asking the community to help

Unfortunately, at this point in time, I'm unable to really support this extension. I no longer use Visual Studio nor do I even have an environment setup to develop and test this extension.

I certainly don't want to pull this extension from the marketplace or even remove its stated Visual Studio 2017 support because as far as I'm aware it still works very well for most people (even on Visual Studio 2017). Although I know some people are experiencing issues -- gotta love the 1 star reviews ๐Ÿ˜ข. So I'm reaching out to the community for help.

I'd be happy to do my best to support and merge PRs, and push out tested updates.

I look forward to working together with the community.

Thanks

Select new tabset after creating

This is just a small issue, however maybe not difficult to implement.
When you create a new tabset, the old pre-selected tabset is still selected, now if you make a change, i.e. save the tabset again without selecting the newly created set, you will overwrite the previously selected set, and then isn't an undo, so can be a major issue

open or restore (saved) tabs does not work in VS 2017 community

After saving a couple of tabs inside VS 2017 community and later trying to restore or open them results in all open tabs being closed down, however the tabs that where saved using this add on are never opened. It seems like it has problems with long names or names beginning/containing with numbers
I'm using VS2017 v15.8.1 Community

Add breakpoint support

When restoring to a new set of tabs - disable all current breakpoints, and re-enable just those within the tab group being restored. Or something along those lines.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.