[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: PHP Task + Javascript Task

BB wrote:
I'm new here and I've performed searches on the possibility combining PHP Task and Javascript Task in the task view, but got nothing.

I've a question/request for this, since most of the time, we have php, html, javascript and css files inside a php-web project (I even have actionscript files).

Actually, only PHP tasks marked by TODO, @todo, etc. are parsed and updated in the task view, which itself is very handy to manage PHP tasks and from the task view, one can go directly to the line containing the task.

The task management using Mylyn seems to me overkill for our projects, so I want to know if there's any work-around to add all the tasks marked in the code source of at least javascript files, into the task view.

If there's none, I'd like to request this feature.

Regards,
BB

PS: I even download the pdt code source to see if I could create a validation like the PHPTodoTaskValidator.java, but it's too complicated for me, while the plugin central has nothing for it :-)

For JavaScript tasks, you need to have JavaScript enabled on your project (use its Configure context menu if it is not a Static or Dynamic Web project to do so) and add the folders where you have JavaScript files onto the JavaScript Libraries property page of the project (Properties from the project's context menu, or use the Project menu from the menubar at the top of the workbench window). The matching Task Tags preference page is in the Web/JavaScript/Validation category, and they're discovered through normal workspace building.


HTML and CSS make use of the Task Tags preference page under the Structured text Editors category; turning it on is all you need to do there, but it's disabled because it can be slow to process the entire workspace. This page covers XML, DTD, and JSP files as well, if you have them.

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational