Closed kevinwkc closed 4 years ago
It's weird. I tried to download v7.5.9 32-bit and import the file userDefinedLang-markdown.solarized-light.modern.xml
. It works.
The direct link for the XML file is: here
Open the file to make sure it is in XML format. And try again?
While this is an old issue, I fear this will happen to a bunch of other people, so here's the cause and the solution :
Turns out, saving the XML file using CTRL+S on your browser while viewing the raw XML file using the links provided in the Readme will save a CDATA of the HTML-encoded xml file, and so they won't be able to be read by Notepad++.
The solution is to copy-paste the xml, or clone/download the repo in a zip, and copy the userDefinedLang XML file you want and paste it in your %APPDATA%\Notepad++\userDefineLangs
folder.
Moral of the story : Don't save files using CTRL+S when viewing raw files directly from GitHub on your browser.
Have re-written README.md that suggest downloading from latest release page.
Thankfully Notepad++ , from v7.6.4 , delegates a folder <userDefineLangs\>
to collect your favorite UDLs.
I would consider this issue solved. Thanks for rising this question! 🍕
Import userDefinedLang-markdown.solarized-light.modern.xml => Fail to Import
Info: Notepad++ v7.5.9 (32-bit) Build time : Oct 14 2018 - 15:02:52 Path : C:\Program Files (x86)\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : OFF OS : Windows 10 (64-bit) Plugins : AutoSave.dll autosave2.dll BetterMultiSelection.dll binhex.dll combine.dll ComparePlugin.dll docMonitor.unicode.dll DoxyIt.dll Explorer.dll GrepBugsPluginNpp.dll HexEditor.dll MarkdownViewerPlusPlus.dll NppColumnSort.dll NPPJSONViewer-win32.dll nppRegEx.dll PluginManager.dll XMLTools.dll DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll LocationNavigate.dll