Posts Tagged ‘eclipse’

Set Eclipse to Use Spaces Instead of Tabs

Posted in post on August 1st, 2010 by Aditya – Be the first to comment

This is how to change Eclipse to use spaces. Note that the default general text editor is used for many non-Java editors in Eclipse. It is just weird they need to put it on separate screen.

For general editor
Window->Preferences->General->Editors->Text Editors->Insert spaces for tabs

For Java only configuration
Window->Preferences->Java->Code Style->Formatter->Edit->Indentation = “Spaces Only”

Struts on Eclipse could not get refreshed

Posted in post on May 30th, 2010 by Aditya – Be the first to comment

Often when I am doing coding on java, most changes I have made seldom appear instantly. To make it faster, the following steps (in order / combination) might be working.

  1. Right click on the project –> “Build Project”
  2. Stop tomcat, clean the server
  3. Restart