-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Problem
Cargo links the current profile when compilation or cargo check is done.
When clicking on the text underlined - this takes me to the (profile page)[https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles].
This is a hardcoded link configured here.
But more often than not, I accidentally click on this link when I mean to focus the terminal in vscode. So I'm wondering if this is really adding much value?
I'm happy to raise PR to remove them if it deems it acceptable. However, I don't want to remove something if it's helpful for most people, for reasons I don't know.
Steps
- Run
cargo build/check
Possible Solution(s)
- Remove this hyperlink
- Or reword it so it's clear this is a hyperlink eg.
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s
View details: https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles
Notes
You can go to the same page by googling "rust build profile", this is the first search result.I often accidentally click on this link when I mean to focus the terminal in vs code. So, I'm wondering if this is really adding much value.
Also the idea of terminal hyperlink using escape character could be confusing and in other places (eg. cargo clippy output) we tend to output the entire link that markes it obvious and leave it up to the terminal to make them clickable or not.
Version
cargo 1.80.1 (376290515 2024-07-16)