How can I tell Notepad++ to always use a particular language with a particular file extension
Problem
I've associated .xul with Notepad++ so if I double-click on a .xul file, it will open in Notepad++. But Notepad++ doesn't know that XUL is just a particular type of XML, so I then have to manually click on "Language > XML" to get XML syntax highlighting. Is there a way that I can tell it: "every time you open a file with the extension .xul, automatically switch to the XML language"?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How can I tell Notepad++ to always use a particular language with a particular file extension
All you have to do is tell Notepad++ that "xul" files are actually "XML" files. Go to > Under , scroll down and highlight "XML" At the bottom, under type in "xul" Press Open your file and it should now highlight properly. Some other helpful links: Assigning custom extensions to a language’s syntax highlighting in Notepad++ Associating file extensions with highlighters
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix