This reverts commit 1a7737494b. The API in Intellij was changed, now the issue can be fixed only in 182.* branches. Original commit: 0deec7983d
1a7737494b
0deec7983d