Intelli, run unit test => panic, click to jump to source?

I'm using IntelliJ + Rust plugin.

In compile errors, the fileName + lineNumber are hyper linked blue. I click on it, and it jumps me to the right file + line number.

This doesn't happen (so far) with runtime errors. During a
panic!() or unimplemented!(), the console dumps out enough data for me to manually find the location. However, it's not hyper linked blue by default.

Is there some way to get these runtime errors to also get hyperlinked?

I've found a simple solution: use todo! instead of panic!.

The todo! outputs filename / line number in such a way the IntelliJ console picks up on it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.