I agree this is not good, and this whole code is an indication that something is deeply wrong. I'll invest some time to get to the bottom of the issue described in the below comment https://github.com/scala-ide/scala-ide/pull/292/files#L37R79