The default javascript
editor for Eclipse
has very poor outlining
and code completion
. As a result of this, for any modern javascript application like ExtJS
or NodeJS
where you need to write a lot of object literal statements, Eclipse becomes pretty useless. And it is impossible to ask how to do this properly.
Eclipse的默认javascript编辑器没有很好的大纲和代码完成。因此,对于任何需要编写大量对象文字语句的现代javascript应用程序,如ExtJS或NodeJS, Eclipse都变得非常无用。要问如何才能做到这一点是不可能的。
Now I found that Ebay Open Source seems to have tools that are specifically designed to replace this flaw in the standard editors, both for javascript in general as for NodeJS specifically.
现在我发现,Ebay开源似乎有专门设计的工具来替代标准编辑器中的这个缺陷,这两种工具都是针对node . js的。
Installing the normal NodeJS V8 debugger
on a default WDT
install of Eclipse
is pretty straightforward, and apart from setting up some script mapping, it's easy to get to work.
在默认的Eclipse WDT安装上安装普通的NodeJS V8调试器非常简单,而且除了设置一些脚本映射之外,还很容易操作。
But when I tried installing VJET
, stuff just didn't work. No code assist at all, no debugging anymore, nothing. VJET mode was set as default for debugging and stuff, but when I couldn't get it to work, I couldn't find any option to switch back to normal Eclipse/JS Editor/V8 Debugger either. Even when I removed all VJET stuff, my Eclipse installation was bombed and a complete wipe of the workspace and home configuration + downloads finally fixed this.
但当我试着安装VJET时,它根本就不管用。没有代码帮助,没有调试,什么都没有。VJET模式被设置为用于调试的默认模式,但是当我无法让它工作时,我也无法找到任何选项来切换回普通的Eclipse/JS编辑器/V8调试器。甚至当我删除了所有的VJET文件时,我的Eclipse安装也遭到了破坏,对工作空间和home configuration + downloads的彻底清除也最终修复了这个问题。
So I was hoping that anyone could explain: What are the exact steps to getting VJET to work for Node.JS development in Eclipse, and possibly how can one switch between 'VJET' mode and 'default' mode?
所以我希望任何人都能解释:让VJET为Node工作的确切步骤是什么。在Eclipse中开发JS,如何在“VJET”模式和“default”模式之间切换?
1 个解决方案
#1
5
A good article was written here about how to get VJET and Chrome Dev Tools working. http://jonathan-whywecanthavenicethings.blogspot.com/2011_08_01_archive.html
这里有一篇关于如何让VJET和Chrome开发工具工作的好文章。http://jonathan-whywecanthavenicethings.blogspot.com/2011_08_01_archive.html
#1
5
A good article was written here about how to get VJET and Chrome Dev Tools working. http://jonathan-whywecanthavenicethings.blogspot.com/2011_08_01_archive.html
这里有一篇关于如何让VJET和Chrome开发工具工作的好文章。http://jonathan-whywecanthavenicethings.blogspot.com/2011_08_01_archive.html