簡體   English   中英

Aptana 3 JavaScript 代碼折疊/輪廓

[英]Aptana 3 JavaScript Code Folding / Outline

我有最簡單的代碼。

function test() {

}

function anotherFunction() {

}

In the Eclipse JavaScript or Spket JavaScript editor, both of them will show me to folding points, one in front of each function. 然而在 Eclipse 3.7 Windows 7 x64 上的 Aptana Studio 3.0.3 中,無論我做什么,Aptana 都沒有告訴我它可以折疊這兩個功能。 無論出於何種原因,大綱也總是空白。 我有 Eclipse 的新副本以及安裝的 Aptana 3 的新副本。 但這無濟於事。

Aptana 中的代碼折疊在我的 Mac 上工作,但大綱視圖仍然顯示為空白。

有沒有其他人經歷過這個並得到解決它的任何提示?

所以我以為我永遠無法弄清楚這個問題,但實際上讓它工作了哈哈。

Anyways the problem is Aptana would only fully enable their JavaScript editor if the project in question is of some kind of web nature, such as Web, PHP, Python, Ruby, Rails. 我從這個頁面得到了我的想法/靈感 有趣的是,顯然 org.eclispe.wst.jsdt.core.jsNature (如果您在 Eclipse 中創建 JavaScript 項目,這是默認設置)對於 Aptana 啟用來說不夠“網絡”它的編輯器。

這也是它在 mac 上工作但在 Windows 上工作的原因。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM