如何:在Visual Studio中更改字体和颜色 - 仅打印语句 [英] How to: Change Fonts and Colors in Visual Studio - print statements only

查看:254
本文介绍了如何:在Visual Studio中更改字体和颜色 - 仅打印语句的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的代码中,我在调试过程中使用了print语句。

In my code I use print statements during debugging.

注释语句行都是绿色的。

Comment statement lines are all green.

如果在IDE中我可以改变"打印"的颜色。陈述更快速可见。  这样我就可以回去查找打印陈述并将其评论出来。

It would be great if in the IDE I could change the color of the "print" statement to something more quickly visible.  So that I can go back and find the print statements and comment them out.

有没有办法改变它的颜色?

Is there a way to change the color of this?

推荐答案

你好T9876,



我害怕Visual Studio没有这样的功能。

但是,相反,你可以找到"打印"。声明使用[查找和替换]轻松使用"打印"。 [查找]功能可以使单词"打印"突出显示。

___________
$
Ashidacchi

Hi T9876,

I'm afraid Visual Studio does not have such feature.
But, instead, you could find "Print" statement easily using [Find and Replace] with "print". [Find] feature could make the word "print" highlighted.
___________
Ashidacchi

P.S。对不起,我忘了否定(不)。感谢您理解我的意图。

P.S. sorry, I forgot negative (does not). thank you for your understanding my intension.


这篇关于如何:在Visual Studio中更改字体和颜色 - 仅打印语句的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆