More Content Types to scan for Task Tags in Eclipse
Is there a way I can add more Content Types to search for Task Tags in Eclipse?
At the moment there are several file types where it is handy to add a quick TODO comment, but they don't show up in my Task list, so they are easy to forget... I would for example like my SQL and Gradle files to be scanned so I get the TODO c开发者_如何转开发omments there in my Task list together with the rest. Is there any way to accomplish this?
That sounds like bug 26849: "Add recognition of Task tags to all other editing types, not just Java", entered in November... 2002!
And its status is "help wanted".
Create a new extension for the org.eclipse.wst.sse.core.taskscanner extension point, implementing org.eclipse.wst.sse.core.internal.provisional.tasks.IFileTaskScanner . The content type you specify will then appear in the page as an option.
精彩评论