Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Light blue highlighting of a variable

Why does a variable starting with a lower case s, followed by a capital letter gets highlighted with light blue.

For example, variable cAngle remains white, while the variable sAngle get coloured light blue.

I will also attach a printscreen of the two.

enter image description here

like image 413
A. Cimet Avatar asked Dec 05 '25 16:12

A. Cimet


1 Answers

You probably use a syntax highlighter in vs-code that uses some form of Hungarian Notation.

Sometimes s followed by a capital is used for static variables. vs-codes syntax highlighter detects this and using some colour scheme (light blue in your case) changes its colour.

like image 116
Bar Stool Avatar answered Dec 08 '25 05:12

Bar Stool