[英]Is there a JavaScript IDE supporting @augments and such?
I feel frustrated, because there does not seem to be any IDE that understands JsDoc. 我感到很沮丧,因为似乎没有任何理解JsDoc的IDE。 I want to be able to do something like:
我希望能够做到这样的事情:
/**
* @class B
* @augments A
*/
B = A.extend({
/**
* @constructor
*/
constructor: function() {
}
});
var instance = new B();
So, if I now type instance.
所以,如果我现在输入
instance.
, the IDE would show a code assistant with all methods found in B
and its parents. ,IDE将显示代码助手,其中包含
B
及其父项中的所有方法。
I have tried Eclipse, Aptana Studio, NetBeans and all have failed so far. 我已经尝试过Eclipse,Aptana Studio,NetBeans,到目前为止都失败了。 Does anyone know an IDE that actually works for JavaScript development?
有谁知道一个实际可用于JavaScript开发的IDE? I want the outline and code assistant to work, those are the most crucial features.
我希望大纲和代码助手可以工作,这些是最关键的功能。
IIRC, PHPStorm supports it. IIRC, PHPStorm支持它。 You can try out a 30 day trial of the latest 2.0 build (currently in testing) from http://www.jetbrains.com/phpstorm/nextversion/index.html
您可以从http://www.jetbrains.com/phpstorm/nextversion/index.html试用最新2.0版本(目前正在测试中)的30天试用版。
Edit: Just tried, and it worked fine. 编辑:刚试过,它工作正常。
Eclipse with JSEclipse plugin can be useful. 带有JSEclipse插件的Eclipse可能很有用。
http://www.interaktonline.com/products/eclipse/jseclipse/Features/Details/Contextual+code+completion.html?id_ftr=558 http://www.interaktonline.com/products/eclipse/jseclipse/Features/Details/Contextual+code+completion.html?id_ftr=558
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.