This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 164038 - TODOs not showing in task list
Summary: TODOs not showing in task list
Status: VERIFIED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Projects (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P2 blocker with 11 votes (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
: 177374 184383 196435 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-29 11:26 UTC by staale
Modified: 2015-06-03 22:12 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description staale 2009-04-29 11:26:49 UTC
I want to have TODO tasks show in the task list for Python projects. Currently it doesn't. I have tried changing the
config to include TODOs only in comments, or anywhere. I want to use the ToDo patterns from Tasks in options to signal
todo issues in my Python code. The strange thing is that # TODO gets special highlightning despite it not being included
in the project task list.

Do I need to look elsewhere for the todo list?
Comment 1 edgimar 2009-09-22 09:28:48 UTC
I am experiencing the same problem.  C++ files work fine, Python files don't.  I've tried just about everything...

Using NetBeans IDE 6.7.1 (Build 200907230233), and Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01, and
the Python plugin version 0.101.

If any other info is needed, let me know.
Comment 2 timf 2009-10-30 11:26:15 UTC
I've checked this in NetBeans IDE 6.8 Beta (Build 200910212001) too and it's not working there either.
Comment 3 mikevac2010 2009-12-17 08:09:10 UTC
I experience the same problem for individual java projects.  When I ask for tasks across all java projects, they show up.  But when I ask for tasks in the main project, none of the TODO's show.
Comment 4 Paidhi 2010-03-30 15:48:40 UTC
This bug was reported almost 1 year ago and the status is still "NEW".
I have the same problem with Python code. No "TODO" markers showing in task list.

Is anybody at Sun/Oracle working on this issue?
This is really annoying and a very silly bug for NetBeans as one of the big IDE's out there.
Comment 5 sleytr 2010-04-08 08:18:22 UTC
Experiencing the same problem. Tasks feature is not working for Python projects.
Comment 6 rickyh 2010-04-14 09:46:30 UTC
Experiencing the same problem here. My guess is this would be a five minute fix.
Comment 7 grey2k 2010-04-26 10:54:32 UTC
I have same problem with my PHP project. 

Todo working fine in current file and in all projects but not current

Todo for main (current) project doesn't work :(
Comment 8 mattofak 2010-07-02 21:28:09 UTC
Still present in the final build of 6.8.
Comment 9 mattofak 2010-07-02 21:29:19 UTC
*** Bug 177374 has been marked as a duplicate of this bug. ***
Comment 10 marw 2010-10-27 21:57:55 UTC
The Task panel does not show TODO list even after:

- Editing Tasks string in options and adding "# TODO" and "#TODO".
- Restarting the NB. 

NOTE: I'm using Python, *not* Jyuthon.

Keywords: python, todo, tasks, interface.
Comment 11 sclewin7 2010-11-28 03:00:39 UTC
I noticed this problem as well for PHP and HTML.  On the Beta for 7.0 I noticed the only way to get TODO to work is to place a // in front of the word.  TODO will not work but //TODO will work.  I do not know if this is the intended reaction.  You should try this with the Python plugin and see if this works.
Comment 12 inonit 2011-12-08 15:22:37 UTC
My guess is that this is related to and/or a duplicate of Bug 162580.
Comment 13 jclemens 2012-02-13 17:22:04 UTC
Same problem in PHP.  Also Windows 7x64.

!!! IMPORTANT !!!

Saving the document causes the Task pane to update with the new TODOs!!!

(This makes the feature useable but it is far from intuitive.)
Comment 14 johanp 2012-08-22 14:52:21 UTC
The same problem for C-code in NB 7.2 still remains

(No matter what I try with versions of keywords and settings I cannot get the action window to show anything. A pity, this feature comes in quite handy navigating around large source trees.)
Comment 15 rbondi 2013-01-28 18:45:08 UTC
A workaround that may help: 
Preferences -> Miscellaneous -> Action Items

unclick the box, Show ToDos from comments only.

should work unless you have the word todo(or other configured patterns) in actual code.  Using a more precise pattern(TODO: instead TODO) should help.

My issue was with html comments in php files.
Comment 16 nowords 2013-08-21 14:48:36 UTC
I just had this occur in NB 7.3.1. In case anyone else has trouble -

I imported C files with a lot of '// TODO' style comments. Nothing appeared in Action Items until I altered one comment to read '// TODO:' and now they've all appeared, regardless of TODO or TODO:.

Saving the files did nothing, nor did restarting the IDE.
Comment 17 alangiv 2014-11-09 10:10:27 UTC
Same problem in 8.0.1 on Windows x64 with Java.  Adding // in front of a TODO suddenly got it working again.
Comment 19 Quality Engineering 2015-03-25 03:22:47 UTC
Integrated into 'main-silver', will be available in build *201503250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/49b0ddcf6f0a
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #164038 - TODOs not showing in task list
Comment 20 Ralph Ruijs 2015-04-08 09:36:42 UTC
*** Bug 184383 has been marked as a duplicate of this bug. ***
Comment 21 Lou Dasaro 2015-05-26 03:28:15 UTC
*** Bug 196435 has been marked as a duplicate of this bug. ***
Comment 22 valakkapeddi 2015-06-03 22:12:53 UTC
Verified in build 201506030001 on Fedora 21.  Confirmed working with both Jython & Python 2.7.