Eclipse環境設定
文摘 http://www.ewdna.com/2011/09/eclipse.html http://itekblog.com/code-folding-in-eclipse-tutorial/ folding tools The Coffee-Bytes plugin by Alex Popescu can add folding functionality to Eclipse IDE. download link is here . the .zip file should contain a “com.cb.eclipse.folding” folder. extract it to “eclipse\plugins”, so you should have now a “c:\eclipse\plugins\com.cb.eclipse.folding\” folder with several files inside. Is there a way to collapse all code blocks in Eclipse? There is a hotkey, mapped by default to Ctrl+Shift+NUM_KEYPAD_DIVIDE. You can change it to something else via Window -> Preferences, search for "Keys", then for "Collapse All". To open all code blocks the shortcut is Ctrl+Shift+NUM_KEYPAD_MULTIPLY. go to line number N in the source file: Ctrl + L in Eclipse you can use Shift+Alt+↑ to mark the surrounding block to the current block (and Shift+Alt+↓ to narrow down again). Then ← will place you at the beginning of the block...