Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes IDEs, Version Control and other tools and the fly likes Simple IDE related question.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Simple IDE related question.." Watch "Simple IDE related question.." New topic
Author

Simple IDE related question..

Paul Somnath
Ranch Hand

Joined: May 19, 2008
Posts: 177
Hi,
I have a small little problem..
I use Eclipse for coding Java..
However I like a certain style of code syntax..
For example I like a class or method to be declared like this:



However, by default eclipse codes it as:


And it is annoying to type it according to my style. I am sure eclipse must have certain code templates which would allow me to code as per my likings.

Can anybody help me on this?


Preparing for SCJP 6.0
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

Window->Preferences->Java->Code Style->Formatter


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Paul Somnath
Ranch Hand

Joined: May 19, 2008
Posts: 177
Thank you very much..
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

Originally posted by Somnath Paul:
Thank you very much..


You are welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Simple IDE related question..