If you use Notepad++ often, you may notice that it recognizes the type of file you open and provides nice synatx style for the language of the file. For example, it knows .js is a JavaScript file and .css is a CSS file. Each file type has its own unique style settings. There are a lot of these predefined file types, but what if Notepad++ doens’t support a file type you open often? If you want to make a custom file type use the same style of another type, just use the Style Configurator to define your own extensions.

Add Custom User Extensions

In Notepad++ navigate to Settings > Style Configurator…

Choose aÂ language on the left side that you want your own extension to match (i.e. if I want .config files to style like XMLthen I’d chooseXML). In the User ext. field near the bottom, enter in your custom user extension without the dot in front of it (e.g. config for *.config files). Now restart Notepad++ and it will map that new extension to the style you’ve chosen.

I am not having any success with this. AOLServer uses the file extension “adp”. Under Language I select html and under “User ext.” I add “adp” [no period or quotes] and then “Save & Close”, restart Notepad ++. It still comes up gray like a txt file.

It didnt work! i just have a custom shader code and am trying to block comment it… and it doesnt block commentt, it things its a text file, so i find this page to make block comment work, and i restart notepad, and the box is still greyed out, if i make shader file an extension of c for example.