Notepad++ stopped color-coding my source code... How to fix?

Viewed 89857

For no apparent reason, it just stopped. No more color-coding. Is there a mystery setting I accidentally turned off?

17 Answers

In the Language menu select your corresponding language. For example H and then html

watch out for the single quote that you copy from the web. if you get one of those "upper commas" instead of the tic mark it will confuse the code and kill the coloring (in SQL). just delete and replace.

I just had the same thing happen to me. The only way I could fix it was to rename the file (I just added one character). Then open it with notepad++. The code was colored again. Then renamed the file back to the original name and it is still colored.

I have since found that if I close Notepad++ without closing the file first this happens. Try closing the file first then close Notepad++ then reopen the file.

This bug seems to be fixed as of version 7.8.6

Got to Setting -> Style Configuration and remove the global style checkbox

Setting

Related