mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
better source listing for IntelliJ to include line numbers? #158
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jstrachan on GitHub (May 7, 2024).
when running
pkl testinside IntelliJ as a command we get nice links to source files in the output when things faile.g. the output is something like this...
clicking on those file URLs work and the source is opened - at line 1
if we modified the output ever so slightly to be....
then IntelliJ would open the file at the line
34if you click on the above link which would help folks navigate to the source of an error/test failure more quickly@bioball commented on GitHub (May 7, 2024):
You can use a settings file to modify how stack frames get presented. This will produce links that will get opened in IntelliJ:
Here's my personal one, which outputs anchors (supported by iTerm 2, not sure about other terminals)
@jstrachan commented on GitHub (May 8, 2024):
love that! would be good to add to the docs