• Login
Community
  • Login

code alignment plugin got disabled in in the new version release

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
12 Posts 5 Posters 10.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    Meta Chuh moderator @RAMA KRISHNA
    last edited by Meta Chuh Feb 16, 2019, 8:06 AM Feb 16, 2019, 8:01 AM

    welcome to the notepad++ community, @RAMA-KRISHNA

    if your CodeAlignmentNpp plugin has disappeared, i assume that you installed a new version 7.6.3 on top of an older version 7.5.9 or below.

    if this is correct:

    • open explorer and go to your plugins folder, where you will find the plugin’s dll file CodeAlignmentNpp.dll.
      (usually the plugins folder is located at %ProgramFiles%\Notepad++\plugins, or %ProgramFiles%\Notepad++\plugins for the 64 bit version of notepad++)

    • create a new folder named CodeAlignmentNppand move CodeAlignmentNpp.dll inside this new folder.

    • restart notepad++ and your CodeAlignmentNpp plugin should be active again.

    reason: newer versions 7.6 and above have different plugins folder structures and should not be installed on top of an existing older version of notepad++.
    if installed on top, you will not see your old plugins anymore, as the plugin paths of your previous notepad++ version are different to the newer versions.

    1 Reply Last reply Reply Quote 1
    • R
      RAMA KRISHNA
      last edited by Feb 18, 2019, 2:02 PM

      Hi Meta Chuh

      Thanks for the replying to the issue , but now it throwing different error. CodeAlignmentNpp.dll is not compatible with the current version of notepad++

      1 Reply Last reply Reply Quote 0
      • P
        PeterJones
        last edited by PeterJones Feb 18, 2019, 2:55 PM Feb 18, 2019, 2:53 PM

        @RAMA-KRISHNA ,

        I think we need to take a step back: did you recently update/upgrade your Notepad++? If you know, what was the old version (both the version number and the 32bit (x86) vs 64bit (x64))?

        And whether you made a recent change or not, for the version of Notepad++ that you are now actively using, please look at the ? menu entry ? > Debug Info, and use the Copy debug info into clipboard link in that dialog, then paste that info into your reply. This will give us useful information about your installation, so we can better help you.

        As @Meta-Chuh described, if you installed 7.6.3 on top of an older version – and thus, it kept the same 32bit or 64bit, and stayed in %ProgramFiles%\Notepad++ (or stayed in %ProgramFiles(x86)%\Notepad++ if you are using 32bit NPP on a 64bit Windows OS) – then all you would have to do is move the dll into the new folder, as @Meta-Chuh described.

        But based on the error message you listed, it sounds like you changed from 32bit to 64bit. If you used to have a 32bit Notepad++, and then recently installed Notepad 7.6.3 64bit (aka v7.6.3 x64), then you cannot just use the same DLL. I do not know if CodeAlignmentNpp comes in a 64-bit version (I didn’t see it in the 64-bit Plugins Admin – but maybe it’s text name just doesn’t match the dll filename). If you have 64-bit Notepad++, then you need a 64-bit plugin. Maybe someone who has used CodeAlignmentNpp can say whether there’s a 64-bit version.

        1 Reply Last reply Reply Quote 1
        • R
          RAMA KRISHNA
          last edited by Feb 18, 2019, 3:14 PM

          Notepad++ v7.6.3 (64-bit)
          Build time : Jan 27 2019 - 17:16:47
          Path : C:\Program Files\Notepad++\notepad++.exe
          Admin mode : OFF
          Local Conf mode : OFF
          OS : Windows 10 (64-bit)
          Plugins : ComparePlugin.dll DSpellCheck.dll mimeTools.dll NppConverter.dll NppTextFX.dll PluginManager.dll ViSimulator.dll

          1 Reply Last reply Reply Quote 1
          • P
            PeterJones
            last edited by PeterJones Feb 18, 2019, 3:31 PM Feb 18, 2019, 3:29 PM

            @RAMA-KRISHNA ,

            Thanks for that. Next, I am going to ask for you to open a cmd.exe window, then

            cd c:\program files\notepad++
            dir
            dir plugins
            

            and paste that. it would be helpful if you pasted your output between triple-tick marks, like,

            ```
             Directory of C:\program files\notepad++\plugins
            
            02/07/2019  11:54 AM    <DIR>          .
            02/07/2019  11:54 AM    <DIR>          ..
            02/07/2019  11:53 AM    <DIR>          ComparePlugin
            02/07/2019  11:53 AM    <DIR>          Config
            01/27/2019  06:49 PM    <DIR>          doc
            02/07/2019  11:54 AM    <DIR>          DSpellCheck
            02/07/2019  11:53 AM    <DIR>          MarkdownViewerPlusPlus
            02/07/2019  11:53 AM    <DIR>          mimeTools
            02/07/2019  11:53 AM    <DIR>          NppConverter
            02/07/2019  11:53 AM    <DIR>          NppExec
            02/07/2019  11:53 AM    <DIR>          NppFTP
            02/07/2019  11:53 AM    <DIR>          PythonScript
                           0 File(s)              0 bytes
            ```
            

            This will make sure that special symbols in your directory listing don’t confuse the forum’s Markdown engine.

            ----
            EDIT: Also, if you open up Windows Explorer, browse to your CodeAlignmentNpp.dll, right click, properties, details; do a screenshot, post it to imgur.com, and embed the image using ![](https://i.imgur.com/______.png), we can find out more about your Code Alignement DLL, too.

            1 Reply Last reply Reply Quote 2
            • R
              RAMA KRISHNA
              last edited by RAMA KRISHNA Feb 19, 2019, 6:09 AM Feb 19, 2019, 6:08 AM

              Hi ,
              actually i tried to install 32 bit version ,i lost the plugin also(it deleted the 64 bit folder) .Now i am not able to find the plugin in online also :( :( …

              https://github.com/cpmcgrath/codealignment/tree/release/CodeAlignment.Npp

              in this link i am not able to find the .dll file .
              code alignment plugin helps me so much in my work without that now i am feeling very difficult to work (OCD for the aligning the brackets and equals to sign and some other ) in my system verilog language coding . please help me if we have x64 plugin or else i can use x32 bit plugin and x32 bit notepad++ also .

              Myself and my team mates everyone are having display resolution issue in notepad++ on large screens.

              M 1 Reply Last reply Feb 19, 2019, 12:45 PM Reply Quote 0
              • M
                Meta Chuh moderator @RAMA KRISHNA
                last edited by Meta Chuh Feb 19, 2019, 12:50 PM Feb 19, 2019, 12:45 PM

                @RAMA-KRISHNA

                important: do not change anything else on your notepad++ installation, unless instructed by @PeterJones , me, or another community regular from here, or else any guides will not work, as we do not have tracks of your recent changes.

                guide to install the code alignment npp plugin on your system with exactly this configuration:
                note: this guide will not work, if you changed your configuration again.

                Notepad++ v7.6.3 (64-bit)
                Build time : Jan 27 2019 - 17:16:47
                Path : C:\Program Files\Notepad++\notepad++.exe
                Admin mode : OFF
                Local Conf mode : OFF
                OS : Windows 10 (64-bit)
                Plugins : ComparePlugin.dll DSpellCheck.dll mimeTools.dll NppConverter.dll NppTextFX.dll PluginManager.dll ViSimulator.dll


                • make sure you follow all steps precisely:

                • download CodeAlignmentNpp_v14.1_x64.zip from >>> here <<<.

                • extract CodeAlignmentNpp_v14.1_x64.zip to your desktop and open it in an explorer window.

                • open another explorer window and go to C:\Program Files\Notepad++\plugins

                • create a new folder CodeAlignmentNpp inside of plugins
                  note: the folder name has to be written exactly like that.
                  (the resulting folder is C:\Program Files\Notepad++\plugins\CodeAlignmentNpp)

                • copy CodeAlignmentNpp.dll from your downloaded “CodeAlignmentNpp_v14.1_x64” folder to C:\Program Files\Notepad++\plugins\CodeAlignmentNpp.

                • copy the folder CodeAlignment from your downloaded “CodeAlignmentNpp_v14.1_x64” folder to C:\Program Files\Notepad++\plugins\CodeAlignmentNpp.

                • restart notepad++ and your Code Alignment plugin is ready to go.

                important note: please remove your PluginManager.dll, as it is incompatible with notepad++ 7.6.3 and will write files to the wrong loctions.
                (remove the folder C:\Program Files\Notepad++\plugins\PluginManager completely)

                С 1 Reply Last reply Dec 10, 2019, 6:19 PM Reply Quote 3
                • R
                  RAMA KRISHNA
                  last edited by Feb 19, 2019, 3:21 PM

                  Hi,

                  wonderful!! thanks for explaining the installation procedure very clearly and great it is working normal :D :D

                  1 Reply Last reply Reply Quote 3
                  • A
                    Avinash Krishnan
                    last edited by Apr 29, 2019, 3:09 AM

                    Hi @Meta-Chuh
                    Link seems to be broken. Would you be able to provide an alternate link

                    M 1 Reply Last reply Apr 29, 2019, 7:16 AM Reply Quote 0
                    • M
                      Meta Chuh moderator @Avinash Krishnan
                      last edited by Apr 29, 2019, 7:16 AM

                      @Avinash-Krishnan

                      if you already are on notepad++ 7.6.6, you can install Code Alignment directly, using the built in plugins admin from the notepad++ menu: plugins > plugins admin.

                      for older notepad++ versions, which require a manual install, please visit the github release download: https://github.com/cpmcgrath/codealignment/releases

                      best regards

                      1 Reply Last reply Reply Quote 1
                      • С
                        Сергей Друзь @Meta Chuh
                        last edited by Dec 10, 2019, 6:19 PM

                        @Meta-Chuh said in code alignment plugin got disabled in in the new version release:

                        Well, in a nutshell:

                        In folder C:\Program Files\Notepad++\plugins create folder CodeAlignmentNpp > transfer files from the folder CodeAlignmentNpp_v14.1_x64.

                        THE END. 🙃

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors