[英]Code Assist Doesn't Work for Aptana Ver 3 Plug-in to Eclipse Ver 3
[英]Aptana Scriptdoc doesn't show up in Code Assist
我已按照所有說明將我的代碼注釋顯示在 Code Assist 中,但我沒有任何運氣。 目前在 Eclipse 內部使用 Aptana 3 插件(這可能是問題嗎?)
myObj = {
/**
* Gets the current foo
* @param {String} fooId The unique identifier for the foo.
* @return {Object} Returns the current foo.
*/
getFoo: function (fooID) {
return bar[fooID];
}
}
當我有上面的代碼時,function 出現在代碼輔助中,但沒有與之相關的文檔。
在 Aptana 支持論壇上發現他們的 Scriptdoc 設置不支持未聲明的變量。
如果我將上面的代碼更改為:
var myObj = {
/**
* Gets the current foo
* @param {String} fooId The unique identifier for the foo.
* @return {Object} Returns the current foo.
*/
getFoo: function (fooID) {
return bar[fooID];
}
}
然后一切正常
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.