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 217931 - 'action items' not showing for sql files
Summary: 'action items' not showing for sql files
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Action Items (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Jan Peska
URL:
Keywords: PATCH_AVAILABLE
Depends on:
Blocks:
 
Reported: 2012-09-06 08:29 UTC by j_lad
Modified: 2013-05-10 02:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
add action items for todo elements in sql files (1.29 KB, patch)
2013-03-24 16:54 UTC, matthias42
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description j_lad 2012-09-06 08:29:03 UTC
to reproduce:
- create new .sql file with the text "-- TODO: test" (without
quotes)
- open 'Action items' window
- select on the left pane 'Show action items for the currently edited file
only'
- select 'show all' as the filter on the left pane

result:
- there is no action items in the window

expected result:
- one action item (TODO: test)
Comment 1 Milutin Kristofic 2013-01-08 18:32:56 UTC
Similar to Bug #214930 where Todo is not working in C. It is about editor implementation. Java has implement todo, some languages hasn't implement it.
Comment 2 matthias42 2013-03-24 16:54:28 UTC
Created attachment 132998 [details]
add action items for todo elements in sql files
Comment 3 matthias42 2013-03-24 17:00:07 UTC
Reassigning to plattform/action items, as the change has to applied there. The attached patch addes comment definitions for sql files to the action items todo scanner.

Please have a look at it.
Comment 4 Jan Peska 2013-05-09 07:41:58 UTC
fix: http://hg.netbeans.org/core-main/rev/b027c2498335
Comment 5 Jan Peska 2013-05-09 08:10:42 UTC
Thanks for the patch Matthias.
Comment 6 Quality Engineering 2013-05-10 02:38:28 UTC
Integrated into 'main-golden', will be available in build *201305092300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b027c2498335
User: Jan Peska <JPESKA@netbeans.org>
Log: Issue #217931 - 'action items' not showing for sql files
Add sql to the supported mime types