Eclipse has a feature where it automatically inserts things. (eg. closing curly braces after pressing ENTER on an opening curly brace)
This is found in Preferences &g