look to the master, follow the master, walk with the master, see through the master, become the master.
Eclipse有一個非常好的功能,就是把源代碼進行美化(或者是標準化),在打開的Java源代碼中,Ctrl+Shift+F就可做到。但是,如果你想把整個項目中的源代碼都美化一下呢?這里有一個簡單的辦法:鼠標右鍵點中你要執行的項目,在快捷菜單的Source菜單項下面,點一下Format的選項。(也可以通過Alt+Shift+S把快捷菜單打開)。
摘自此處
Powered by: BlogJava Copyright © kukooBlog