Here\'s what I\'ve got:
TestFile.java
main()
You can do that in any Eclipse project with org.eclipse.jdt.core.javanature (check/edit .project file).
org.eclipse.jdt.core.javanature
.project
So just open .project file and add
if it is not yet there.