[RFC] Transform workspace into session

Vladimir Prus ghost at cs.msu.su
Tue Jul 1 12:18:42 UTC 2008


On Monday 30 June 2008 00:23:52 Andreas Pakulat wrote:
> Hi,
> 
> at the kdevelop sprint we pretty much agreed that some "central" place
> to store metadata is needed, so I implemented a "workspace" thing thats
> part of our project tree model. However thinking about this, it doesn't
> make too much sense there and it also introduces space-wasting in the
> treeview.
> 
> Now other apps in KDE have a concept of "session" which IMHO fits here
> pretty well, we can assign a data-area to a session. So plugins that
> still want to store some project-unrelated metadata (like teamwork for
> example, or svn-plugin for repositories) can do it. Also looking at kate
> this works pretty well, people not interested in it (like Alex) can just
> tell KDevelop once on first startup to use the default session and never
> ask again for session-choosing.
> 
> What do others think? Should we(I) look at how Kate's doing it and
> eventually try to move some code to kdelibs for 4.2 so we can share code
> with kate (or else just copy)?

I think the key advantage of Eclipse way is that this "workspace" thing
is associated with a directory. So, if I have, for whatever reason, 100
different projects I no longer care about, I can wipe this directory away.
Also, workspace includes a log -- which is very nice thing for debugging
issues with Eclipse itself.

- Volodya


- Volodya




More information about the KDevelop-devel mailing list