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.
Product Version = NetBeans IDE 8.0 RC1 (Build 201402242200) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_21 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Open window Options, tab Team / Action Items. Choose ToDo Pattern "PENDING", choose Java Files (text/x-java) among Supported File Types list and uncheck check box Scan Block Comments for it. Choose ToDo Pattern "PENDING", choose extention JSP among Supported File Types list and ensure that only check box Scan Block Comments (<%-- --%>) is checked for it. Click buttons Apply and OK. Create a Maven Web project. Create class PendingTransactionActionBean in it: ======== package com.wissenstein.actionitems; /** * * @author olupandin */ public class PendingTransactionActionBean { /* * @return Count of pending transactions. */ public int getPendingTransactionCount() { return 4; } } ======== Open window Action Items. Actual result: window Action Items contain an action item with the description: "pending transactions.". Expected results: window Action Items is empty Create JSP index.jsp in the project: ======== <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <h1>Count of pending transactions</h1> </body> </html> ======== Open window Action Items. Actual result: window Action Items contains an action item with the description: "pending transactions</h1>". Expected result: window Action Items is empty. So, scanning for action items should be corrected.
*** Bug 242805 has been marked as a duplicate of this bug. ***
*** Bug 242806 has been marked as a duplicate of this bug. ***
fix: http://hg.netbeans.org/core-main/rev/2983d63b72bd
Integrated into 'main-silver', will be available in build *201405030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2983d63b72bd User: Jan Peska <JPESKA@netbeans.org> Log: Issue #242804 - Action Items are processed in a wrong way Try to apply mime setting first, fix saving the selected flag of line and block comments