Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97420

checking how long are comments in a file

$
0
0

I just finished an assingment and according to the instructions I can't have a line of code or comment longer than 120 chars. is there a quick way to check that? I'm using VSCODE on windows 10. I saw somewhere that I can make a verticle line in the editor to see if a row is too long but I can't find it now.

for example : // return stack->size since stack->size holds the number of values that can be stored inside the array at a given time.

this comment is 119 chars so it is ok but anything bigger will cause me to lose points.

I know I can hold the last char in the sentence and see the 'col' number in VSCODE, I was hoping for something better.

thanks


Viewing all articles
Browse latest Browse all 97420

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>