Wonkenstein

wibble

Aug 26

How to associate file extension with syntax colouring on Notepad++

Using a windows machine at the latest contract work and have been using notepad++ as a lightweight text editor as well as eclipse for my main coding work.

I wanted to open up .module and .inc files with php syntax colouring in notepad++ rather than having to change the language setting each time.

To do this, edit the langs.model.xml and add ‘module inc’ to the php language node ext attribute. Next time you open a .module or .inc file it should be in the php syntax highlighting.

You can probably do this with other file extensions and languages

Found at askville


Comments (View)
Page 1 of 1