简体   繁体   中英

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

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM