This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 10744
    
    9

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: 10744
    
    9

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


You are welcome
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Simple IDE related question..
 
It's not a secret anymore!