yuhua-chen / MCLog

Xcode plugin for filtering the console area.
MIT License
586 stars 55 forks source link

Quickly apply filter to all the tabs #12

Open revolter opened 9 years ago

revolter commented 9 years ago

I would be of imense help if the filter was applied to all the open tabs (or new tabs). So if I have one opened tab and I filter for BUG:, when I open a new tab, it would have the same filter applied.

Another possibility would be to use the curent tab's filter. So, let's assume I have two opened tabs: the first one with the filter First: applied and the second one with the filter Second: applied. If I select the first one and open a new tab, this third tab would have the filter First: applied, and if I select the second one and open a new tab, this third tab would have the filter Second: applied.

Also, it would be nice to have the last used filter saved and restored after an Xcode crash or restart.

Hope this helps you with some ideas if you're going to implement it, and thanks for this useful plugin!

yuhua-chen commented 9 years ago

Thanks for suggestions. I think this is one kind of use cases for this plugin and probably not for all developers. For your situation, If it's better to make a dropdown box that lists all history you've used?

revolter commented 9 years ago

Sorry, I thought I mentioned that it won't make sense to impose that and also change the old behavior. So it would be best to make some toggle options in the menu with the default value off. But I guess the dropdown would work too.