-
Ex in the R console: devtools::lint() has the output...
My request is that the When performing the same code in the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You will notice that these sorts of links do work in cli-emitted messages with file links. So the best way to make this happen is for lintr to either message with cli or inline similar logic. This is done using OSC 8 hyperlinks, which is a de facto standard for terminal emulators, i.e. that's what cli is doing to make these hyperlinks "come alive", so to speak. |
Beta Was this translation helpful? Give feedback.
-
In terminals, VS Code is constantly scouring the output for various things (words, symbols, etc.), including anything that might sort of look like a file path. That is why you notice you can cmd + click there. But in the R console, we are counting on a more explicit signal that something is intended to be a file link. |
Beta Was this translation helpful? Give feedback.
In terminals, VS Code is constantly scouring the output for various things (words, symbols, etc.), including anything that might sort of look like a file path. That is why you notice you can cmd + click there. But in the R console, we are counting on a more explicit signal that something is intended to be a file link.