I have this problem in PHPStorm. I use Zen coding and in some cases expanding abbreviations shows me red rectangle. I can write into this rectangle, but if I want to hit Enter or Tab, first action is disable this rectangle and then Enter or Tab work normally.
For ex. ( - shows red rectangle)
1. Write "bd", hit tab.
2. I have "border: ". Write something so I have "border: [1px solid #ddd];|"
3. I want to go to the end of line and go next line, so I hit Enter.
4. First action is hide red rectangle, so caret still is in the same line. I must hit Enter once again to go to next line. For Tab key is the same, first hit does not do anything, only hide red rectangle.
This is not only for zen coding, but also for my own Live Templates (for ex. "log" -> "console.log($VAR0$);")
What to do, to solve this problem with double hitting Enter/Tab ?