How to add User Defined Language XML File to Notepad++

15,776

The XML file you show already contains complete definition of the UDL.

  1. Copy everything beetween tags <UserLang and </UserLang> also including them.

  2. Locate the file userdefinelang.xml. It is in the same directory as file contextMenu.xml which you can open using menu Settings > Edit Popup ContextMenu.

    • If the file was missing, just copy your file into that file and skip steps 3 and 4.
  3. Paste your selection just before </NotepadPlus> tag.

  4. Save and restart Notepad++.

  5. The language should appear near bottom of the Language menu.

Share:
15,776

Related videos on Youtube

Chuck
Author by

Chuck

Updated on September 18, 2022

Comments