是否有适用于 JavaScript 的 Eclipse 插件,允许在 Eclipse 中对 .js 文件进行语法检查和自动建议?
Is there an Eclipse plugin available for JavaScript that allows for syntax checking and autosuggestions for .js files in Eclipse?
在 Eclipse 中完成以下步骤以获取 JavaScript 文件的插件:
Complete the following steps in Eclipse to get plugins for JavaScript files:
http://download.eclipse.org/releases/juno
添加 JavaScript 透视图:(可选)
10. 转到窗口"->打开透视图"->其他..."
11. 选择JavaScript".点击确定"
To add JavaScript Perspective: (Optional)
10. Go to "Window" -> "Open Perspective" -> "Other..."
11. Select "JavaScript". Click "OK"
使用突出显示的 JavaScript 语法打开 .html 或 .js 文件:
12.(可选)选择 JavaScript 透视图
13.在Script Explorer中浏览并选择.html或.js文件[JavaScript Perspective](或Package Explorer [Java Perspective]或PyDev Package Explorer [PyDev Perspective]无所谓.)
14. 右键单击 .html 或 .js 文件 -> 打开方式" -> 其他..."
15. 选择内部编辑器"
16. 选择Java 脚本编辑器".单击确定"(请参阅 JavaScript 语法现已突出显示)
To open .html or .js file with highlighted JavaScript syntax:
12. (Optional) Select JavaScript Perspective
13. Browse and Select .html or .js file in Script Explorer in [JavaScript Perspective] (Or Package Explorer [Java Perspective] Or PyDev Package Explorer [PyDev Perspective] Don't matter.)
14. Right-click on .html or .js file -> "Open With" -> "Other..."
15. Select "Internal editors"
16. Select "Java Script Editor". Click "OK" (see JavaScript syntax is now highlighted )
这篇关于Eclipse 的 JavaScript 编辑器插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!