Eclipse's Editor occasionally inserts a single space when I hit tab instead of the configured two spaces. How to prevent this?
<p>I have the Eclipse Editor configured to use two spaces instead of tabs. However, it sometimes randomly only adds a single space when I press tab. This seems to occur only on existing lines e.g. if I create a new white line and hit tab, I'll never get the single space. The only spot where I've seen tab consistently produce a single space is after a closing bracket <code>}</code>. Is there a way to prevent these single space tabs?</p>