Hi Marco,

I haven't looked at creating tasks manually.  I do it by adding either #FIXME 
of #TODO lines in the actual files.  If you do this, eric helpfully adds them 
as tasks in the task list and when you double click on them if opens the file 
and moves the cursor to the correct line.

I think it is really neat - Detlev really needs a pat on the back for this 
one ...

Regards,
Brad Ralph

P.S. In the task list it really bugged me that the file names were not 
displayed relative to the project so I modified it to remove the begining 
part of the file path if it matches the project.

It is only a really small change so a diff of the affected file is attached if 
you are interested. (UI/TaskViewer.py)  

(apologies to Detlev for fiddling with his work.) 

On Tue, 24 May 2005 08:04 pm, Marco Bizzarri wrote:
> Detlev Offenbach wrote:
> >Hi,
> >
> >this is to let all of you know about the release of RC1 of the upcoming
> >version 3.7.0 of eric3. It is available via the snapshots link of the
> > eric3 web site.
> >
> >http://www.die-offenbachs.de/detlev/snapshots
> >
> >Please give it a thorough testing and report all bugs found.
> >
> >Regards,
> >Detlev
>
> I'm trying to use the task feature of eric3, but it looks like it is not
> possible to link the task to a document/line... is it still in
> development or I'm missing some fundamental point (like reading the
> manual ;)) ?
>
> Regards
> Marco
>
> _______________________________________________
> PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
28c28
<                  completed=0, _time=0, isProjectTask=0):
---
>                  completed=0, _time=0, isProjectTask=0,ppath=""):
41c41,42
<         self.description = unicode(description)
---
>         self.ppath = ppath
> 	self.description = unicode(description)
52c53,54
<         QListViewItem.__init__(self, parent, "", "", self.description, self.filename,
---
>         if self.filename.startswith(self.ppath):
> 	    QListViewItem.__init__(self, parent, "", "", self.description, self.filename[(len(self.ppath)+1):],
54,55c56,60
<         
<         if self.completed:
---
> 	else:
> 	    QListViewItem.__init__(self, parent, "", "", self.description, self.filename,
>                                self.lineno and "%6d" % self.lineno or "")
> 
> 	if self.completed:
207a213
> 	self.setShowToolTips(True)
277c283
<                    _time, isProjectTask)
---
>                    _time, isProjectTask,self.project.ppath)
_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to