In PhpStorm when I hover the mouse pointer over a warning/error bar on the right of the window the following preview is shown.
I would like to always have errors shown like this in the main editor. Is it possible?
I would like to always have errors shown like this in the main editor. Is it possible?
Nope.
That "preview" is called Lens mode.
In Editor ... IDE should be highlighting problematic places with different background or underwaves (this depends on the color schema you are using; using Default one will use "dirty yellow" background for Warnings and red underwave for Errors).