Visitor :

May 4, 2009

Eclipse Code Style Sample (You can import!)


download formatter xml
http://knight76.tistory.com/attachment/cfile3.uf@160C731149F140367DA242.xml
download code formatter xml
http://knight76.tistory.com/attachment/cfile22.uf@150CB21149F140367CA287.xml


I have two examples about eclipse coding style in java language based on eclispe.
Standard code style give to understand and analyze codes.
Download file xml file can be imported to your eclipse 3.X. And it is close to java code convention.

In Eclipse, you may follow belows orders.
Window -> Preferences -> Java -> Code Style -> Code Template

You will see that pop up window. To import, you may clock Import button on the window, and you will see file explorer, and choose the downloaded sample file "CodeTemplates_sample.xml"




In Eclipse, you may follow belows orders.
Window -> Preferences -> Java -> Code Style -> Formatter

u will see that pop up window. To import, you may clock Import button on the window, and you will see file explorer, and choose the downloaded sample file "Formatter_sample.xml"
l

After clicking import button, you will see below pop-up window.
You can assign your formatter policy by choosing their options.

No comments:

Post a Comment