Code coverage full red / green highlight of text besides just left margin.

36 views
Skip to first unread message

Rick Nendza

unread,
Mar 13, 2019, 8:20:48 AM3/13/19
to Illuminated Cloud Q&A
Trying to get some coworkers to purchase IC. I have my code coverage fully highlighted. He just had it on the left nav (using mac) Not sure if this is in intellij thing or IC thing but who just one get the coverage fully highlighted. I must have changed something years ago, just can't remember what.

Thanks so much!

Scott

unread,
Mar 13, 2019, 11:50:18 AM3/13/19
to Illuminated Cloud Q&A
Hi, Rick. I'm not 100% sure that I understand. Code coverage in the JetBrains IDEs is displayed for the editor in the left gutter:


It sounds like your co-worker is seeing what I'd expect. I'm not aware of a way to get it to show with highlighting of entire lines in the editor. If you were able to do that, I'd be very curious to know how you configured it to do so. 

Or am I misunderstanding the situation? If so, please let me know and I'll try to answer the right question.

Regards,
Scott Wells

Rick Nendza

unread,
Mar 13, 2019, 12:37:48 PM3/13/19
to Illuminated Cloud Q&A
OK.. yes. this one is on me.. I must have some other plugin that I configure this with a long time ago.. I'll try to look. Sorry about that.

But now I'm curious as to what I did :)

See attached image.

codecoverage.PNG

Rick Nendza

unread,
Mar 13, 2019, 1:01:45 PM3/13/19
to Illuminated Cloud Q&A
Here is what I did.. this is not a IC function. This is a color config in the the IDE. Sorry about that.

(See the third section titled. To configure code coverage colors )

Thanks for your help man!

codecoveragecolors.PNG


Scott

unread,
Mar 13, 2019, 1:08:17 PM3/13/19
to Illuminated Cloud Q&A
Hah! I was just looking at that myself. Yep, that definitely makes a nice difference in terms of visualizing coverage. Glad you got it figured out!

Rick Nendza

unread,
Mar 13, 2019, 1:44:03 PM3/13/19
to Illuminated Cloud Q&A
Thanks again man.

btw. having crazy retrieval times (10 mins for 1 apex class) on cs19 (but not other sandboxes)
Don't think it's the plugin but just fyi in case others ask.

Will send logs if continues through later tonight but I think it's just the sandbox.

Scott

unread,
Mar 13, 2019, 1:53:39 PM3/13/19
to Illuminated Cloud Q&A
Yes, I'm hearing the same from other users today...both retrieval and deployment. It seems that the servers are responding slowly, likely due to long queue lengths. I'm happy to look at a log to confirm that, but all that IC does is place a request in queue and polls for its completion. That's what I'd expect to see in the log as well.

Regards,
Scott

Tim Osborn

unread,
Aug 8, 2025, 11:09:12 AMAug 8
to Illuminated Cloud Q&A, Rick Nendza
I tried this setting and I'm still not able to get the lines highlighted across the screen, just in the sidebar.

Scott

unread,
Aug 8, 2025, 11:20:46 AMAug 8
to Illuminated Cloud Q&A, Tim Osborn, rne...@gmail.com
Hi, Tim. I just configured this in 2025.2 and it's showing properly:

Config
CoverageConfig.png

Coverage
CoverageLines.png

Note that I did have to close and reopen coverage before it showed properly.

Please let me know if you don't see the same.

Regards,
Scott Wells

Tim Osborn

unread,
Aug 8, 2025, 11:53:23 AMAug 8
to Illuminated Cloud Q&A, Scott, Tim Osborn, rne...@gmail.com
Thank Scott, that was the trick, re-opening the coverage. 
Reply all
Reply to author
Forward
0 new messages