| How to enable automatic code formatting? [message #200803] | 
Wed, 21 March 2007 09:09   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: adam.lipscombe.qucs.co.uk 
 
Hi 
 
 
I am using eclipse with the MyEclipseIDE plug in. 
 
 
How do I enable/disable automatic code formatting? 
 
I have tried windows->prefs->java->formatting and I can see how to set the preferred format, but I  
cant see how to make it happen automatically. 
I still have to press right-click->source->format from the editor. 
 
 
TIA - Adam
 |  
 |  
  | 
 | 
 | 
| Re: How to enable automatic code formatting? [message #200934 is a reply to message #200838] | 
Wed, 21 March 2007 13:40   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: csae7511.uibk.ac.at 
 
Hi, 
 
I think by M5 it is possible to perform actions when saving. 
Preferences --> Java --> Editor --> Save Actions. 
 
There it is possible to activate actions like formatting the source,  
organizing the imports, etc. 
 
HTH, 
Stefan 
 
Ed Merks schrieb: 
> Adam, 
>  
> I could be wrong, but I didn't think there was such a thing... 
>  
>  
> Adam Lispcombe wrote: 
>> Hi 
>> 
>> 
>> I am using eclipse with the MyEclipseIDE plug in. 
>> 
>> 
>> How do I enable/disable automatic code formatting? 
>> 
>> I have tried windows->prefs->java->formatting and I can see how to set  
>> the preferred format, but I cant see how to make it happen automatically. 
>> I still have to press right-click->source->format from the editor. 
>> 
>> 
>> TIA - Adam
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.43390 seconds