Coverage Window/ Tracing no longer displaying with Golang
已回答
Not sure how to get Coverage Window and tracing to work again after collapsing Window. I have removed .idea from project, adjusted workspace.xml, removed all preferences/cache files, removed and reinstall go plugin.
After running the Run with Coverage I get run output but not coverage window and also tracing code has stopped working.
Not sure if an updated Intellij broke this behavior.
请先登录再写评论。
Do you use IntelliJ IDEA with Go plug-in or Gogland IDE?
Go Plugin
Could https://youtrack.jetbrains.com/issue/GO-4164 be the case?
All in same package. Was working... not sure if my behavior closing the Coverage Window or update triggered issue.
Try the previous version from https://www.jetbrains.com/idea/download/previous.html.
Delete IDE folders to start with the defaults (https://intellij-support.jetbrains.com/hc/articles/206544519).
same behavior... after running run with coverage I see a greyed out option in View->Tools Windows.
Maybe Go Plugin version was updated??
figured out the missing coverage window issue... when selecting Run * with Coverage there are two settings offered All in ... and gobench package ....
gobench package will create the coverage window.
but line coverage shows 0% and tracing coverage is off.
Gogland has the same behavior.
I see
Test framework quit unexpectedly in the run window when running gobench package