Eclipse - JavaScript编辑器插件
Complete the following steps in Eclipse to get plugins for JavaScript files:
1.Open Eclipse -> Go to "Help" -> "Install New Software"
2.Select the repository for your version of Eclipse. I have Juno so I selected http://download.eclipse.org/releases/juno
3.Expand "Programming Languages" -> Check the box next to "JavaScript Development Tools"
4.Click "Next" -> "Next" -> Accept the Terms of the License Agreement -> "Finish"
5.Wait for the software to install, then restart Eclipse (by clicking "Yes" button at pop up window)
6.Once Eclipse has restarted, open "Window" -> "Preferences" -> Expand "General" and "Editors" -> Click "File Associations" -> Add ".js" to the "File types:" list, if it is not already there
7.In the same "File Associations" dialog, click "Add" in the "Associated editors:" section
8.Select "Internal editors" radio at the top
9.Select "JavaScript Viewer". Click "OK" -> "OK"
To add JavaScript Perspective: (Optional)
10. Go to "Window" -> "Open Perspective" -> "Other..."
11. Select "JavaScript". Click "OK"
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 )
JavaScript Editor Plugin for Eclipse
1.Open Eclipse -> Go to "Help" -> "Install New Software"
2.Select the repository for your version of Eclipse. I have Juno so I selected http://download.eclipse.org/releases/juno
3.Expand "Programming Languages" -> Check the box next to "JavaScript Development Tools"
4.Click "Next" -> "Next" -> Accept the Terms of the License Agreement -> "Finish"
5.Wait for the software to install, then restart Eclipse (by clicking "Yes" button at pop up window)
6.Once Eclipse has restarted, open "Window" -> "Preferences" -> Expand "General" and "Editors" -> Click "File Associations" -> Add ".js" to the "File types:" list, if it is not already there
7.In the same "File Associations" dialog, click "Add" in the "Associated editors:" section
8.Select "Internal editors" radio at the top
9.Select "JavaScript Viewer". Click "OK" -> "OK"
To add JavaScript Perspective: (Optional)
10. Go to "Window" -> "Open Perspective" -> "Other..."
11. Select "JavaScript". Click "OK"
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 )
JavaScript Editor Plugin for Eclipse
热门话题 · · · · · · ( 去话题广场 )
- 一人一杯一口入魂的夏日特饮 1.7万次浏览
- 日常生活里的健身实训 新话题 · 3726次浏览
- 解锁我的夏日旅行足迹地图 活动 新话题
- 用对话体写日记 1059次浏览
- 低谷期如何将“自怜”转化成“自爱”? 2809次浏览
- 每天夸夸自己的三件小事 新话题 · 488次浏览