I mostly use Notepad++ for dealing with XML files. It would be good if Notepad++ parsed and colorized my files based on the XML language when I open the files. Instead, I have to open the file, pick XML from the Languages menu.
Is there a way to tell Notepad++ that XML is the default language and to treat the files accordingly.
Best Answer
In Notepad++ open the Preferences dialog box by clicking on
Settings
->Preferences
click on theNew Document/Default Directory
tab and change theDefault Language
toXML
.EDIT: Just saw that you wanted it to apply to .config files as well. This can be done but you'll need to do it for every extension you want to override. Click on
Settings
->Style Configurator
scroll down toXML
in the language section and addconfig
to theUser ext
box. Save & Close and any new .config file opened will show up as XML. In fact, I've already done that for my installation as seen below: