Search code examples
phpstorm

Is it possible to have error description directly in code?


In PhpStorm when I hover the mouse pointer over a warning/error bar on the right of the window the following preview is shown.

this is the hover effect I would like to always have errors shown like this in the main editor. Is it possible?


Solution

  • 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).