Plugins not installing



  • @guy038

    i was able to use your first, unedited regex, but i also fail to find any matches with your edited version.

    SEARCH (?-is)^(\h*\{|\h*\},\h*\{|\})|^\h*"npp-plugins".+\R|^\h*(\},?|])\R|^\h+"(arch)|(32|64)",$|^\h+"(id)|^\h+"(repository)|^\h+"(.)|(": ")|",?$
    does not find any matches on https://raw.githubusercontent.com/notepad-plus-plus/nppPluginList/master/src/pl.x86.json
    (version 1.0.9)



  • Hi, @meta-chuh, @alan-kilborn and All,

    As, seemingly, there are, at least, two links from where we can download the pl.x86.json and pl.x64.json

    https://github.com/notepad-plus-plus/nppPluginList/raw/master/src/pl.x86.json

    https://raw.githubusercontent.com/notepad-plus-plus/nppPluginList/master/src/pl.x86.json

    I compared the two files and … they are quite identical !

    Secondly, I selected and pasted your regex and compared with my FIRST search regex, using the Find dialog, with the Normal mode, and the Match case option ticked

    And, again, the two regexes were identical !

    So,… I really don’t understand why, you and Alan, cannot get it to match ???


    For instance, after running the FISRT regex S/R :

    • SEARCH (?-is)^(\h*\{|\h*\},\h*\{|\})|^\h*"npp-plugins".+\R|^\h*(\},?|])\R|^\h+"(arch)|(32|64)",$|^\h+"(id)|^\h+"(repository)|^\h+"(.)|(": ")|",?$

    • REPLACE (?3Architecture)(?4\4\x20bits)(?5SHA-256)(?6Download)(?7\u\7)(?8\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\:\x20)((?1-------------------------------------------------------------------------------------------------------------------------)

    The beginning and end of the pl.x86.json file is changed as below :

    -------------------------------------------------------------------------------------------------------------------------
    Name           : npp-pluginList
    Version           : 1.0.9
    Architecture           : 32 bits
    -------------------------------------------------------------------------------------------------------------------------
    Folder-name           : 3P
    Display-name           : 3P - Progress Programmers Pal
    Version           : 1.8.4
    SHA-256           : c26d0cbde59688501f683e2ac4a8b5a2d5327b13e14f0be1e6cf6abb9059f401
    Download           : https://github.com/jcaillon/3P/releases/download/v1.8.4/3P.zip
    Description           : [Requires .net framework 4.6.1]\r\n3P is a notepad++ plug-in designed to help writing OpenEdge ABL (formerly known as Progress 4GL) code. It provides :\r\n- a powerful auto-completion\r\n- tool-tips on every words\r\n- a code explorer to quickly navigate through your code\r\n- a file explorer to easily access all your sources\r\n- the ability to run/compile and even PROLINT your source file with an in-line visualization of errors\r\n- more than 50 options to better suit your needs\r\n- and so much more!\r\nVisit http://jcaillon.github.io/3P/ for more details on the plugin
    Author           : Julien Caillon
    Homepage           : https://jcaillon.github.io/3P/
    -------------------------------------------------------------------------------------------------------------------------
    Folder-name           : ActiveX
    Display-name           : ActiveX Plugin
    Version           : 1.1.7.3
    SHA-256           : c89214e3bcf05abb6b81626e766b009027202eee14cd88dcd3ed0843adfe40e7
    Download           : https://sourceforge.net/projects/nppactivexplugin/files/bin/ActiveX_Unicode_1_1_7_3.zip
    Description           : This plugin allows you to control Notepad++ via ActiveX.\r\nYou can use ActiveX with many scripting languages (VBScript, JScript, PHP, ...) and other languages (C++, C+, VB.NET, Delphi, ...).\r\nSo you are not bound to a single language.
    Author           : Bananen-Joe
    Homepage           : https://sourceforge.net/projects/nppactivexplugin/
    -------------------------------------------------------------------------------------------------------------------------
    Folder-name           : AnalysePlugin
    Display-name           : AnalysePlugin
    Version           : 1.11.37.0
    SHA-256           : 6ca78ed2ae93f594cc0f057deb31d4b4b6f932b6e2368347e0cd91730e2a1e39
    Download           : https://downloads.sourceforge.net/project/analyseplugin/binaries/v01.11-R37-x86.zip
    Description           : AnalysePlugin will help you to search for more than one search pattern at a time. Great for analysing log files..\r\nLast changes and How to use you will find in Help... in Plugins Menu.
    Author           : Mattes H.
    Homepage           : https://sourceforge.net/projects/analyseplugin
    -------------------------------------------------------------------------------------------------------------------------
    ..............
    ..............
    ..............
    ..............
    ..............
    ..............
    ..............
    -------------------------------------------------------------------------------------------------------------------------
    Folder-name           : XPatherizerNPP
    Display-name           : XPatherizerNPP
    Version           : 2.10
    SHA-256           : 92e8393a2bf94b27a8084d8d84734616a56ea51f877bf5cc62b6d494642e76b5
    Download           : https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/xpatherizernpp/XPatherizerNPP-2.10.zip
    Description           : Analyze multiple XPath queries with reverse lookup\nFeatures:\nAnalyze multiple XPath queries with one keypress.\nAbility to only search on selected text.\nAbility to Auto Search as you type your xPath queries. \nReverse lookup from results.\nBeautify XML documents.\nSaved queries for files left open in NPP.\nCan save and load XML files with XPath queries into a single file.\nSelect multiple results nodes for exporting.\nExport results to new XML file.\nRemove results from the XML document. \nCan display information about Attributes on the Parent node results.
    Author           : bguenthner
    Homepage           : https://code.google.com/p/xpatherizernpp/
    -------------------------------------------------------------------------------------------------------------------------
    Folder-name           : ZenCoding-Python
    Display-name           : Zen Coding - Python
    Version           : 0.7.0.1
    SHA-256           : a781ee5c76ebc543b412a41e024c2d96f9a6edcae591f27868e190a48bc7bba6
    Download           : https://downloads.sourceforge.net/project/npppythonscript/ZenCoding-Python/ZenCoding-Python-0.7.0.1a.zip
    Description           : An implementation of the Zen Coding method by Sergey Chikuyonok. Expand HTML, CSS, XML, XSLT and XSD from abbreviations\ntr#head1.header>td*2 becomes <tr id=\"head1\" class=\"header\">\n  <td></td>\n  <td></td>\n</tr>\nUses the Python Script plugin.
    Author           : Dave Brotherstone
    Homepage           : https://github.com/bruderstein/ZenCoding-Python
    -------------------------------------------------------------------------------------------------------------------------
    Folder-name           : zoomdisabler
    Display-name           : Zoom Disabler
    Version           : 1.2.0
    SHA-256           : eb49c4fce581fa63b024a3a0454ccc49d082b9524c0cc9a0d5c25544e264da55
    Download           : https://github.com/StanDog/npp-zoomdisabler/raw/master/RELEASES/zoomdisabler_1.2.0.zip
    Description           : Worried about zooming your document everytime you just want to scroll but accidentally still holding the [Ctrl] key? Then this plugin is what you want! It disables mouse zoom or keyboard zoom or both.
    Author           : Stanislav Eckert
    Homepage           : https://github.com/StanDog/npp-zoomdisabler
    -------------------------------------------------------------------------------------------------------------------------
    

    And, after running the SECOND regex S/R :

    • SEARCH (?-s)^.{13}\K\x20+

    • REPLACE Leave EMPTY

    The beginning and end of the pl.x86.json file is nicely changed as below :

    -------------------------------------------------------------------------------------------------------------------------
    Name         : npp-pluginList
    Version      : 1.0.9
    Architecture : 32 bits
    -------------------------------------------------------------------------------------------------------------------------
    Folder-name  : 3P
    Display-name : 3P - Progress Programmers Pal
    Version      : 1.8.4
    SHA-256      : c26d0cbde59688501f683e2ac4a8b5a2d5327b13e14f0be1e6cf6abb9059f401
    Download     : https://github.com/jcaillon/3P/releases/download/v1.8.4/3P.zip
    Description  : [Requires .net framework 4.6.1]\r\n3P is a notepad++ plug-in designed to help writing OpenEdge ABL (formerly known as Progress 4GL) code. It provides :\r\n- a powerful auto-completion\r\n- tool-tips on every words\r\n- a code explorer to quickly navigate through your code\r\n- a file explorer to easily access all your sources\r\n- the ability to run/compile and even PROLINT your source file with an in-line visualization of errors\r\n- more than 50 options to better suit your needs\r\n- and so much more!\r\nVisit http://jcaillon.github.io/3P/ for more details on the plugin
    Author       : Julien Caillon
    Homepage     : https://jcaillon.github.io/3P/
    -------------------------------------------------------------------------------------------------------------------------
    Folder-name  : ActiveX
    Display-name : ActiveX Plugin
    Version      : 1.1.7.3
    SHA-256      : c89214e3bcf05abb6b81626e766b009027202eee14cd88dcd3ed0843adfe40e7
    Download     : https://sourceforge.net/projects/nppactivexplugin/files/bin/ActiveX_Unicode_1_1_7_3.zip
    Description  : This plugin allows you to control Notepad++ via ActiveX.\r\nYou can use ActiveX with many scripting languages (VBScript, JScript, PHP, ...) and other languages (C++, C+, VB.NET, Delphi, ...).\r\nSo you are not bound to a single language.
    Author       : Bananen-Joe
    Homepage     : https://sourceforge.net/projects/nppactivexplugin/
    -------------------------------------------------------------------------------------------------------------------------
    Folder-name  : AnalysePlugin
    Display-name : AnalysePlugin
    Version      : 1.11.37.0
    SHA-256      : 6ca78ed2ae93f594cc0f057deb31d4b4b6f932b6e2368347e0cd91730e2a1e39
    Download     : https://downloads.sourceforge.net/project/analyseplugin/binaries/v01.11-R37-x86.zip
    Description  : AnalysePlugin will help you to search for more than one search pattern at a time. Great for analysing log files..\r\nLast changes and How to use you will find in Help... in Plugins Menu.
    Author       : Mattes H.
    Homepage     : https://sourceforge.net/projects/analyseplugin
    -------------------------------------------------------------------------------------------------------------------------
    ..............
    ..............
    ..............
    ..............
    ..............
    ..............
    ..............
    -------------------------------------------------------------------------------------------------------------------------
    Folder-name  : XPatherizerNPP
    Display-name : XPatherizerNPP
    Version      : 2.10
    SHA-256      : 92e8393a2bf94b27a8084d8d84734616a56ea51f877bf5cc62b6d494642e76b5
    Download     : https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/xpatherizernpp/XPatherizerNPP-2.10.zip
    Description  : Analyze multiple XPath queries with reverse lookup\nFeatures:\nAnalyze multiple XPath queries with one keypress.\nAbility to only search on selected text.\nAbility to Auto Search as you type your xPath queries. \nReverse lookup from results.\nBeautify XML documents.\nSaved queries for files left open in NPP.\nCan save and load XML files with XPath queries into a single file.\nSelect multiple results nodes for exporting.\nExport results to new XML file.\nRemove results from the XML document. \nCan display information about Attributes on the Parent node results.
    Author       : bguenthner
    Homepage     : https://code.google.com/p/xpatherizernpp/
    -------------------------------------------------------------------------------------------------------------------------
    Folder-name  : ZenCoding-Python
    Display-name : Zen Coding - Python
    Version      : 0.7.0.1
    SHA-256      : a781ee5c76ebc543b412a41e024c2d96f9a6edcae591f27868e190a48bc7bba6
    Download     : https://downloads.sourceforge.net/project/npppythonscript/ZenCoding-Python/ZenCoding-Python-0.7.0.1a.zip
    Description  : An implementation of the Zen Coding method by Sergey Chikuyonok. Expand HTML, CSS, XML, XSLT and XSD from abbreviations\ntr#head1.header>td*2 becomes <tr id=\"head1\" class=\"header\">\n  <td></td>\n  <td></td>\n</tr>\nUses the Python Script plugin.
    Author       : Dave Brotherstone
    Homepage     : https://github.com/bruderstein/ZenCoding-Python
    -------------------------------------------------------------------------------------------------------------------------
    Folder-name  : zoomdisabler
    Display-name : Zoom Disabler
    Version      : 1.2.0
    SHA-256      : eb49c4fce581fa63b024a3a0454ccc49d082b9524c0cc9a0d5c25544e264da55
    Download     : https://github.com/StanDog/npp-zoomdisabler/raw/master/RELEASES/zoomdisabler_1.2.0.zip
    Description  : Worried about zooming your document everytime you just want to scroll but accidentally still holding the [Ctrl] key? Then this plugin is what you want! It disables mouse zoom or keyboard zoom or both.
    Author       : Stanislav Eckert
    Homepage     : https://github.com/StanDog/npp-zoomdisabler
    -------------------------------------------------------------------------------------------------------------------------
    

    To end, Meta, you said :

    i was able to use your first, unedited regex, but i also fail to find any matches with your edited version.

    It not clear for me ! What do you mean by unedited and edited versions ?

    Cheers,

    guy038



  • @guy038

    oooops, i was on 7.7 debug without boost while i was testing what alan said, that’s why it didn’t work for me.

    works as expected in 7.6.6, just like the first time i’ve tested it.

    my sincere apologies 🙏

    (i will start using different coloured themes for different versions while testing, to avoid this in the future)



  • @guy038 :

    I as well got it working now, both with the free-spacing regex and the non. Not sure what the problems were earlier, EXCEPT I do realize now that I didn’t keep the | characters for some oddball reason.

    BTW, I dislike vertical alignment of anything but comment-to-eol. A personal preference.

    Thx, @guy038, this will come in handy for us that do manual plugin installs.



  • Hello @alan-kilborn and All,

    May be, this tested version of my previous free-spacing regex is more meaningful to you ;-))

    (?x-is)                               #  FREE-SPACING mode, search SENSITIVE to case, DOT = a SINGLE STANDARD char, ONLY
                                          #  SEARCH for :
    ^(  \h*  \{  |  \h*\},\h*\{  |  \}  ) #  [ BLANK chars ] + ( '{' or '},  {' ) or LAST '}' changed into 121 DASHES
    |                                     #  or
    ^\h*  "npp-plugins"  .+  \r\n         #  Line  containing "npp-plugins" DELETED
    |                                     #  or
    ^\h*  (  \},?  |  ]  )  \r\n         #  Lines containing '},' or '}' or ']', at END of line, DELETED
    |                                     #  or
    ^\h+"  ( arch )                       #  BLANK chars + string '"arch'             changed into 'Architecture'
    |                                     #  or
    (32|64)",$                            #  Strings '32",' / '64",' at END of line,  changed into '32 bits' / '64 bits'
    |                                     #  or
    ^\h+"  ( id )                         #  BLANK chars + string '"id'               changed into 'SHA-256'
    |                                     #  or
    ^\h+"  ( repository )                 #  BLANK chars + string '"repository'       changed into 'Download'
    |                                     #  or
    ^\h+"  (.)                            #  FIRST LOWER-case letter, after leading BLANK chars in UPPER-case
    |                                     #  or
    (":[ ]")                              #  String '": "' changed into 11 SPACE characters + ':' + 1 SPACE character
    |                                     #  or
    ",?$                                  #  DOUBLE quote or string '",' , at END of line , DELETED
    

    Cheers,

    guy038



  • @Meta-Chuh Finally got round to this. Sorry it took so long. I followed the instructions you gave and it had the same effect as before, that is:

    • I started notepad++.exe from inside the extracted folder,
    • used plugins > plugins admin to install Customize Toolbar,
    • clicked yes on the “Restart?” prompt,
    • and the folder opened in Explorer
    • I restarted NP++ and Customize Toolbar is installed.

    I don’t hide file extensions. I did this simply on the extracted folder (under my Downloads directory), no other versions of NP++ running, no plugins installed other than the default set of three (MIMEtools, Converter, NppExport).
    One thought, though, I wonder if notepad++ is being passed to the shell (rather than notepad++.exe), and that is causing the Explorer window to open the folder rather than the executable file?
    Also I am running QTTabBar to give me a tabbed Explorer, not sure if that would have some effect.



  • @Meta-Chuh
    Uninstalled QTTabBar and tried again with the portable version of NP++ and just native Windows File Explorer and this time it worked.
    I noticed that QTTabBar was a couple of minor versions out of date, so I reinstalled and updated it. Tried again with the Portable version of NP++ and this time it worked. Hmm. Tried with the installed version of NP++ and this worked as well.
    So, looks like whatever was causing the problem got fixed when I updated QTTabBar. I don’t know if it was the older version of QTTabBar itself that was causing the problem, or if the uninstall, reinstall, update process incidentally sorted something.



  • @Keith-Collyer

    thank you for reporting back, and glad to hear that plugin installation is working now, without opening an explorer window.

    your report can help others, who might have a similar constellation and experience the same, if an older version of qttabbar was the cause.

    many thanks and best regards.


Log in to reply