I'm working on a project that uses maven and is linked to a git repo. When I open th eegit perspective on Eclipse and try to edit a java file even if I type in complete nonsense it doesn't flag an error or offer code completion. However If i open the java perspective and try to do it everything works fine. But I don't want to use the java perspective. One another difference is how the tab bar icon looks for these 2 files.
The first image is in the git view, the latter is in the java perspective
I removed the project from the workspace and re-imported it. Now it's working