Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PhpStorm autocompletion / dialogs disappear in Awesome WM / Xmonad

When trying to autocomplete code or open up the dropdown menu's the window / dialogs will appear for a short time and then get hidden behind the main editor window.

The problem is related to java window handling in tiling window managers such as AwesomeWM.

To solve this see the answer below.

like image 514
Sam Avatar asked Mar 20 '23 17:03

Sam


1 Answers

You need to edit the VM options so window hinting can be done correctly. I installed PHPStorm under /opt/phpstorm (linux)

Edit:

bin/phpstorm.vmoptions
bin/phpstorm64.vmoptions

Append the following line:

    -Dide.expansion.hints.enabled=false

Restart phpstorm and the problem should be fixed.

ref: http://code.google.com/p/xmonad/issues/detail?id=560

like image 199
Sam Avatar answered Mar 22 '23 06:03

Sam