Coverage Window no longer displaying

I've been successfully using the Code Coverage feature. After I moved the window to the right hand side of the editor (as opposed to the bottom), it was still displaying, then suddenly went away. There is no tab for the window anywhere, clicking "Run with Coverage" only shows the regular phpunit output window, and if I go to View->Tool Windows, the Coverage option is grayed out.

Any idea how I can get this back?

Thanks,
--mark

0

Hi Mark,

Maybe it is hidden (e.g. behind the window or something) or outside of screen? Have you tried restarting PhpStorm since then (helps me with another issue)?

You can try this (not sure if it will actually help, but):

  • Close project in PhpStorm
  • Go to PROJECT_ROOT/.idea
  • Open workspace.xml in any plain text editor
  • Find <component name="ToolWindowManager"> section
  • Delete <window_info id="Coverage" entry (this config line stores how and where Coverage tool window is displayed)


You can always try to

  • backup and delete PROJECT_ROOT/.idea folder (your project settings),
  • File | Open Directory (point to that PROJECT_ROOT)
  • this will create new project settings -- reconfigure and see if it will help (yiu can restore from backup at any time)
0
Avatar
Permanently deleted user

Hi Andriy,

I had tried restarting PhpStorm, and it didn't help.  Your sugestion of removing the line from workspace.xml seems to have fixed it!

Thanks much for the suggestion!

Cheers,
--mark

0

请先登录再写评论。