[英]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 . 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?有什么方法可以在 Tasks 视图中显示 in.js 文件中的任务标签(如 TODO)? In this version of Eclipse the task filter doesn't even list "JavaScript" as an option and there are no JavaScript settings in Preferences.在此版本的 Eclipse 中,任务过滤器甚至没有将“JavaScript”列为选项,并且首选项中没有 JavaScript 设置。 Task tags work in.html, .css, and.php files but not in.js files.任务标签适用于 .html、.css 和 .php 文件,但不适用于 in.js 文件。
UPDATE: I've switched to version 2020-12 (4.18.0) and JavaScript task tags are working by default in this version.更新:我已切换到版本 2020-12 (4.18.0),并且 JavaScript 任务标签在此版本中默认工作。
This worked for me (in Eclipse version 2020-09 (4.17.0)):这对我有用(在 Eclipse 版本 2020-09 (4.17.0) 中):
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.