Configure XML formatting in Notepad++

This is a guest post from Albin Sunnanbo, sharing a convenient config trick for Notepad++.

If you are using Notepad++ as your favorite editor for text files you should configure style mapping for XML files.
Instead of going into the menu Language->Xml everytime you open a file with xml data you can configure XML as default language for certain file extensions.

First go into the menu and select Settings->Style Configurator
Notepad++ style configurator menu

Select XML in the left list and in the small textbox User ext. enter your most frequently used file extensions.
For c# development use at least “config csproj sln”.
Notepad++ style configurator dialog
Now XML syntax high lightning will be enabled for those file extensions the next time you open them.

  • Leave a Reply

    Your name as it will be displayed on the posted comment.
    Your e-mail address will not be published. It is only used if I want to get in touch during comment moderation.
    Your name will be a link to this address.
Software Development is a Job – Coding is a Passion

I'm Anders Abel, an independent systems architect and developer in Stockholm, Sweden.

profile for Anders Abel at Stack Overflow, Q&A for professional and enthusiast programmers

Code for most posts is available on my GitHub account.

Popular Posts

Archives

Series

Powered by WordPress with the Passion for Coding theme.