Eclipse for PHP Developers 2020-06 - Is There Any Way to Show Javascript Task in Tasks View?

540 Views Asked by At

I'm using Eclipse IDE for PHP Developers Version 2020-06 (Includes Incubating Components) (4.16.0) on Windows 10 Home, 64-bit, installed using the Windows 64-bit installation file from https://www.eclipse.org/downloads/packages/installer.

Is there any way to have task tags (like TODO) in .js files show up in the Tasks view? In this version of Eclipse the task filter doesn't even list "JavaScript" as an option and there are no JavaScript settings in Preferences. Task tags work in .html, .css, and .php files but not in .js files.

UPDATE: I've switched to version 2020-12 (4.18.0) and JavaScript task tags are working by default in this version.

1

There are 1 best solutions below

1
On

This worked for me (in Eclipse version 2020-09 (4.17.0)):

  1. Go to Window->Preferences.
  2. Go to Web->JavaScript
  3. "Task Tags in JavaScript can be configured here" <- click this link
  4. Check the "Enable searching for Task Tags" checkbox
  5. Click Apply and Close