Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does CodeBlocks 12.11, on windows, underline my comments with red zigzag lines, and how do I turn this feature off?

How do I turn off the "spell-checker like" feature in CodeBlocks on windows?

I also just now realized that if I add a "\" (back-slash) to the end of my comment, the next line if code is also commented. Has this always been standard for c++?

enter image description here

like image 939
Leonardo Avatar asked Jan 10 '13 22:01

Leonardo


People also ask

How do you get rid of the red underline in CodeBlocks?

You should be able to go Plugins->Manage Plugins... ->SpellChecker->Disable for the red lines.

How do you customize CodeBlocks?

Go to Settings > Editor > Syntax highlighting. All the themes that you imported will be available under the color theme drop list. After changing the theme, you may notice that the insertion bar become hard to see if you use a dark background.


1 Answers

Mine was underlining all my comments and strings, too. Turns out when I downloaded codeblocks, the language wasn't set to English. If you look in the bottom right corner of the codeblocks window, there is a little flag. You can right click it and select the correct language. Hope this helps!

like image 76
Chelsea Avatar answered Sep 24 '22 16:09

Chelsea