[PATCH] minor sublime modifications

Manuel Breugelmans mbr.nxi at gmail.com
Tue Jul 29 07:44:39 UTC 2008


On Tuesday 29 July 2008 02:43:17 Matt Rogers wrote:
> On Jul 28, 2008, at 5:46 AM, Manuel Breugelmans wrote:
> > Hi,
> >
> > Attached a patch which does 3 things:
> >
> > */ allow to add toolviews without registering them in the 'add new
> > toolview'
> > box
>
> what's your use case for this?

Joe starts kdevelop4. Joe requests 3 different code coverage reports, which get 
initiated through a context menu action. kdevelop4 adds these 3 toolviews with 
IUiController->addToolView. Joe opens the 'add new tool view' box and finds 3 
'Coverage Report' entries there. Joe files a bugreport.

Problem being that addToolView does 2 different things:
1. register the factory
2. spawns the toolview (if areas are restored yet)

And yes, one could implement it with tabs/dropdownboxes in a single toolview 
instead of these throw-away views.

> > */ ability to exclude certain toolview ID's from saving to config
>
> again, what's the use case?

Prevent one-off views from being respawned on bootup.


Manuel





More information about the KDevelop-devel mailing list