syntax-highlightingnotepad++erb

Notepad++ not syntax highlighting my files


Until a week ago I was happily coding html.erb files in Notepad++ with syntax highlighting. Then my hard drive crashed.

I reinstalled Notepad++ on my new system but when I open my html.erbs, only a few of them are highlighting properly.

I think the problem might be that most of these files are being considered 'normal text files', where the few that are working are considered 'html files'. I tried 'save as' html file of the same name, but it isn't working. How can I get my syntax highlighting back? This is seriously slowing me down.


Solution

  • You could try going to Language > H > Html and that should highlight stuff.