在 Visual Studio 中变暗/隐藏记录代码行 [英] Dim/hide logging lines of code in Visual Studio
本文介绍了在 Visual Studio 中变暗/隐藏记录代码行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么方法可以使 Visual Studio 变暗或按需隐藏/显示我的代码的日志记录行吗?
我们在我们的项目中使用了大量的日志记录,这样的代码更难阅读.
Is there any way to make visual studio dim or hide/show on demand logging lines of my code?
We use a lot of logging in our project and it's harder to read code like this.
我希望它是这样的,例如:
I would like it to be like this, for example:
推荐答案
我用这个.希望有一天他们也会添加颜色自定义和行选择正则表达式选项:
I use this. Hoping one day they will add color customization and line selection regex options as well:
https://marketplace.visualstudio.com/items?itemName=ElmarXCV.GrayLogLines
这篇关于在 Visual Studio 中变暗/隐藏记录代码行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文