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 247022 - No action items found in JS files
Summary: No action items found in JS files
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Action Items (show other bugs)
Version: 8.0.1
Hardware: PC Windows 8
: P3 normal with 2 votes (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-11 09:52 UTC by GP_
Modified: 2015-12-17 09:18 UTC (History)
0 users

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 GP_ 2014-09-11 09:52:46 UTC
Product Version = NetBeans IDE 8.0.1 (Build 201408251540)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.8.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23

Even though in the options (Team->Action Items) it says that .js files and files with the text/javascript MIME type are being searched for ToDo notes, Netbeans never seems to find any in my files (and I do have them). The application I work on is 65% Javascript, so the majority of my ToDo notes are in there. I'd really like to be able to use the Action Items window.
Comment 1 Jan Peska 2014-09-12 12:47:20 UTC
Can you please send a small sample project or steps to reproduce it? It works fine for me.

Thanks
Comment 2 GP_ 2014-09-12 13:15:51 UTC
I can't reproduce if I make a new HTML5Application project (i.e., there it works), but if I make any other type of project (I have a Java Free-Form project for my web application with a Java based backend server) I can reproduce 100%. So it seems it is related to the type of project?
Comment 3 Jan Peska 2014-09-12 13:24:16 UTC
Well it should depend just on the MIME type or extension of the file, but it is possible that project scanning in Java Freeform project somehow cause the problem. I will investigate it.

Thanks for reporting
Comment 4 spikyjt 2015-12-17 09:18:32 UTC
Did you find anything in your investigation? I also see this bug in version 8.1. It was also there in previous versions, but I've not been too bothered by it before, as most of my projects are not JS heavy.

The current project I'm working on is a PHP project in Netbeans. What I have noticed is that the Action Items do show if I select "Show action items for currently selected file only", but not if I select "Show action items in PROJECT_NAME" or "Show action items for all opened projects". In the latter cases, only TODOs from PHP files show. The first option is obviously rather limiting!

I hope this helps to narrow down the bug.