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

Try out the following:

  1. Select a language manually from the "Languages" menu.
  2. In Settings/Preferences, check the File Associatons.
  3. In worst case, reinstall.

I had the same problem and discovered it was because I had enabled global foreground color under Global Styles.


The solution for me was to go into the Style Configurator, select the 'Global Styles' from the Language selection box and uncheck the 'Enable global foreground colour' option. I am not sure why that was checked, but all of the code coloring worked after unchecking it. Thanks Richard!


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

Tags:

Ide

Notepad++