| Home » Language IDEs » PHP Development Tools (PDT) » PHP Task + Javascript Task
 Goto Forum:| 
| PHP Task + Javascript Task [message #99138] | Fri, 26 June 2009 10:54  |  | 
| Eclipse User  |  |  |  |  | Hi, 
 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 :-)
 |  |  |  |  | 
| Re: PHP Task + Javascript Task [message #99176 is a reply to message #99138] | Fri, 26 June 2009 14:37   |  | 
| Eclipse User  |  |  |  |  | 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
 |  |  |  |  | 
| Re: PHP Task + Javascript Task [message #508216 is a reply to message #99176] | Sun, 17 January 2010 13:19  |  | 
| Eclipse User  |  |  |  |  | I have tried doing adding a folder to the libraries but it gives me a process error and when i click on the button to show the details it shows me nothing. I go back to view the libraries and the ones I just added are not there. I'm not sure what I'm doing wrong or if I'm missing something. 
 
 Edit:
 I figured it out. I was using todo in the taskTags and was putting @todo in the code. For whatever reason the @ is not implied for taskTags in js like it is in php. changed the filter to use @todo and it picked it up just fine.
 
 Also, for some reason, my css / html tasks are showing up twice. Not a big deal i guess since at least they're showing up, but could possibly get annoying.
 [Updated on: Sun, 17 January 2010 14:13] by Moderator |  |  |  | 
 
 
 Current Time: Fri Oct 31 02:25:29 EDT 2025 
 Powered by FUDForum . Page generated in 0.03933 seconds |