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 255436 - Action Items not working in .yml files
Summary: Action Items not working in .yml files
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Action Items (show other bugs)
Version: 8.1
Hardware: PC Windows 8.1
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on: 255455
Blocks:
  Show dependency tree
 
Reported: 2015-09-20 20:45 UTC by ThomasLandauer
Modified: 2015-09-24 01:29 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 ThomasLandauer 2015-09-20 20:45:19 UTC
This consists of several "sub"-bugs:

* Out of the box, Action Items (e.g. "TODO") do not work in YAML files (.yml).

* I registered "yml" as a new Extension (under Tools > Options > Team > Action Items) with Line Comment Pattern: #
The registering worked (seemingly) but the Action Items still don't show up.

* Only when I uncheck "Show ToDos from comments only" it works (even though my TODO's are in comments).

* When I change the file extension from .yml to .php it works too.

Putting all this together, I'm quite sure it's a yml-related bug ;-)

Note: By "not working" I mean that the Action Item is not showing up in the "Action Items" window (Ctrl+6).
Comment 1 Petr Pisl 2015-09-21 15:47:00 UTC
I have recognized that the comments work correctly only if they are at the beginning of a line. See more issue #255455. Is it your case as well?
Comment 2 ThomasLandauer 2015-09-21 16:31:57 UTC
(In reply to Petr Pisl from comment #1)
> I have recognized that the comments work correctly only if they are at the
> beginning of a line. See more issue #255455. Is it your case as well?

Yes, this is the case here too; I just voted for that other bug.

However, the Action Item doesn't show up, no matter where it's located in the line ;-)
Comment 3 Petr Pisl 2015-09-23 13:14:43 UTC
Problem is that there is test, whether the begin start blog pattern is null, but is not tested whether is empty. It belongs to tasklist.todo module. 

Anyway i fixed it in web-main.
Comment 4 Quality Engineering 2015-09-24 01:29:43 UTC
Integrated into 'main-silver', will be available in build *201509240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/956386950e68
User: Petr Pisl <ppisl@netbeans.org>
Log: #255436 - Action Items not working in .yml files