On 10/18/2014 04:38 AM, Jonatan Hjul wrote:
Maybe this would suffice?

for i, line in enumerate(open(file_name, 'r')):
     if 'TODO' in line:
          print(i, line)

Found it.

View --> Toolbars --> Source toolbar

The far left icon on the toolbar is the TODO item. If there are TODOs in a file it will be active and clicking on it will give you a dropdown list of the TODO items. Selecting an item takes you to it.


--
Adrian Klaver
[email protected]

--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to