英文:
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/vscode 和 VS 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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论