code alignment plugin got disabled in in the new version release
-
Hi ,
I am not able to enable the code alignment in new version which i use very frequently , may i know the reason for disabling or am i missing something -
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
CodeAlignmentNpp
and moveCodeAlignmentNpp.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. -
-
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++
-
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.
-
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 -
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. -
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.
-
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 isC:\Program Files\Notepad++\plugins\CodeAlignmentNpp
) -
copy
CodeAlignmentNpp.dll
from your downloaded “CodeAlignmentNpp_v14.1_x64” folder toC:\Program Files\Notepad++\plugins\CodeAlignmentNpp
. -
copy the folder
CodeAlignment
from your downloaded “CodeAlignmentNpp_v14.1_x64” folder toC:\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 folderC:\Program Files\Notepad++\plugins\PluginManager
completely) -
-
Hi,
wonderful!! thanks for explaining the installation procedure very clearly and great it is working normal :D :D
-
Hi @Meta-Chuh
Link seems to be broken. Would you be able to provide an alternate link -
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
-
@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 folderCodeAlignmentNpp
> transfer files from the folderCodeAlignmentNpp_v14.1_x64
.THE END. 🙃