Home
Do you highlight strings in your code editor?
  v3.0 Posted at 10/20/2010 7:56 PM by System Account
It is a good practice to highlight string variables or const in source code editor of Visual Studio to make them clear. Strings can be easily found especially you have long source code.
Default string appearance
Default string appearance
Highlighted string appearance
Highlighted string appearance
Tools | Options form of Visual Studio
Tools | Options form of Visual Studio

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:

    Comments:

    Note: Social Media login for Yotpo is not working in IE or Safari, please use Chrome. We are waiting for Yotpo to fix it.