Improve Intellij integration, fixes #664 (#684)

1 file changed