你可以更改输出面板中链接的样式吗?

huangapple go评论58阅读模式
英文:

Can I change the style of links in the Output Panel?

问题

When I build in VS Code, the build log goes to the Output window, and the Output window helpfully links text like "filepath:line:column" back to my source code. Cool, great feature.

But I find all the underlines quite distracting. My preference would be for clickable text to only show a different style on mouse-over. Maybe blue text with an underline ... but only on mouse over. I've tried to find such an option, to no avail.

In my opinion, that would be a useful option.

What I'm really doing is writing an extension that applies syntax highlighting to the Output Panel, and I would like to style the links there as well.

英文:

When I build in VS Code, the build log goes to the Output window, and the Output window helpfully links text like "filepath:line:column" back to my source code. Cool, great feature.

But I find all the underlines quite distracting. My preference would be for clickable text to only show a different style on mouse-over. Maybe blue text with an underline ... but only on mouse over. I've tried to find such an option, to no avail.

In my opinion, that would be a useful option.

What I'm really doing is writing an extension that applies syntax highlighting to the Output Panel, and I would like to style the links there as well.

你可以更改输出面板中链接的样式吗?

答案1

得分: 1

以下是已翻译好的部分:

"我知道的只有以下相关设置,但都不是你寻找的内容:"

//(显示默认值)
"editor.links": true,
"terminal.integrated.enableFileLinks": "on",
"terminal.integrated.showLinkHover": true,

在 VS Code 的 GitHub 存储库中提出了一个功能请求问题票,可能部分涵盖了你所寻找的内容:禁用可点击链接的下划线 #140657,但由于没有足够的社区支持而被关闭。

我建议你提出一个清晰描述你所寻找的功能请求问题票。你可以将你的功能请求链接分享给其他开发社区,以征求他们的支持(遵循他们的社区宣传规则)。例如,r/vscodeVS Code Dev Community Slack。如果你创建了一个功能请求问题票,请在这里发表评论,提供链接以备将来参考,这样我可以更新此帖子的状态更新。

英文:

All I'm aware of are the following related settings- none of which are what you're looking for:

// (showing default values)
"editor.links": true,
"terminal.integrated.enableFileLinks": "on",
"terminal.integrated.showLinkHover": true,

There was a feature-request issue ticket raised in VS Code's GitHub repo which probably at least partially covered what you're looking for: Disable underlining for clickable URLs #140657, but it was closed for not receiving enough community support fast enough.

I'd suggest raising a feature-request issue ticket of your own clearly describing what you're looking for. You can share links to your feature request to various other dev communities to solicit support form them (following their community rules for promotion). Ex. r/vscode and the VS Code Dev Community Slack. If you do create a feature-request issue ticket, please comment here with a link to it for posterity, and so I can update this post with status updates.

huangapple
  • 本文由 发表于 2023年4月17日 04:58:53
  • 转载请务必保留本文链接:https://go.coder-hub.com/76030312.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定