[WIP] Add support for non-IDEA IDEs back (fixes #754)

It might be that the hack we used to make it work is back again and it works.... I'm waiting for confirmation on this one.