Download Hex Editor Plugin For Notepad++

0 views
Skip to first unread message

Solana Axton

unread,
Aug 3, 2024, 5:37:21 PM8/3/24
to diarweblowe

Notepad++ is a great editor... The regular expression facility is stunted, but I can live with that. It is OK for most find/replace situations, and for the occasional others I'll just hop across to UltraEdit (Unicode) or TextPad (ASCII only).

For some reason unknown to me, this plugin is forcibly disabled by Notepad++ whenever I upgrade to the latest version (of Notepad++), with a message something like ".. due to instability issues".HexEditor.dll gets moved into a "quarantine" subfolder: .\disabled.

This sounds a bit ominous. I have searched high and low, and I have found nothing which makes any reference to this mysterious "instability".The plugin is available on the Notepad++ plugins page (which lists third-party plugins, and is not, strictly speaking, a Notepad++ page), and there is no mention of instability.

It's not a major issue the way I see it. But I can understand why the author of Notepad++ wants to move past this plugin and disable it each time Notepad++ is updated to a new version. The installer script moves the plugin to a subfolder named "disabled".

I had some NFO files on my computer recently, and when I right clicked on one of the files and chose to edit it in Notepad++ from the context menu, Notepad++ crashed. I thought that was weird. So I started Notepad++ and then dragged and dropped the file onto it and it worked. So it crashed each time I used the context menu to open the file, and it worked each time I dragged and dropped the file or used the open file dialog.

A few weeks later I got the prompt telling me that a new version of Notepad++ is available. So I downloaded and installed it. This is the first time I got the message telling me that the Hex Editor plugin was unstable and had to be moved to the "disabled" folder.

I had a thought that this might be what had been causing the crashes. As it turned out, it was! Right now I am using version 6.9.2 of Notepad++ and 0.9.5 of Hex Editor plugin on Windows 10 version 1511 (10586.494). As soon as I move the DLL file for the Hex Editor to the plugins folder to enable it, and then use the context menu to open a file, it crashes the program. If I shut it down, move the DLL file back to the disabled folder, then it does not crash when using the context menu.

Note! This only happens if the file name extension is NFO! So for a file with the name extension of TXT is not affected. I have not tested a lot of the other file name extensions I have on my computer, but I did test a few of them (e.g. JPG) and it appears as if only files with NFO extensions are affected.

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

In the option for the file type i don't see jade or pug as an option. Will it still understand that it is a jade or pug file by me just typing index.jade or do I have to pick another text editor that has jade or pug as a file type.

Any text editor should work with any file type. In your case, yes, just name the file index.jade and it should operate in the way you want it to. However, in order for syntax highlighting to work for Jade or Pug, you may need to download a package or plugin for your editor in order for it to be able to do syntax highlighting for a Jade or Pug file. Most text editors come with syntax highlighting for common languages like HTML, CSS, JS, PHP, etc. But less common languages, like the templating languages you are trying to use, usually require an additional package to be installed.

Here's the thing though: all good editor plugins are voluntary efforts of people who use that Editor all the time. That makes sure they are constantly updated and improved. Maybe some Notepad++ users want to join forces here?

I agree that this does not satisfy somebody's desire to use Notepad++, that's why I say if @soham85 doesn't need exactly Notepad++ but just a dev environment on Windows...
I didn't want to mention that the plugins are voluntary efforts because I don't like myself when in open source projects somebody comes with the response that sounds something like this: "Well, I don't care for that and I won't put effort, but you are welcome to code on this, contributions are welcome", because not everybody has the desire/knowledge/time... to do that.

@soham85, the issue is that this takes a lot of time and effort(to develop and maintain), so people usually don't do it unless they strictly need it.
I would rather a developer work on proving the soundness of some feature in the language than take his time on maintaining plugins for every editor out there(again, it takes some man power to maintain these plugins).

@skade I have yet to see somebody develop entire projects in Notepad++. It is a very good editor to open and look at the code but it was never very friendly at making it a dev environment.
The other modern editors out there are better at accomplishing this task(may be Notepad++ doesn't have a good API for this?).
I do think there should be code highlighting, but that's probably an issue that should be raised directly to the project. I don't know how it works, if code highlighting is maintained by the project or external parties...

So I actually built a JSL plugin for notepad++. I'll say how to install it below, but might I recommend the JSL for VSCode extension that we moved to instead. It's under (semi-)active development and has much more extensibility. You can find it by downloading VSCode and searching extensions for "JMP" or in the VSCode marketplace.

Looks simple and bug-free. With some small additions, this system could work in both directions: file changed? Update parameter. Parameter changed? Update file. File changed when user still typed his parameter? Prompt user about merging. Maybe even cook nodes and output node errors to some companion files?

That should be implemented natively in Houdini and replace existing system, because it is so clearly better than blocking process. Houdini already use temporary files for external editing. Modern editors track files themselves very well.

This is really nice! Thanks. I wish i could tie this directly to "Edit Expression" though, instead of having to rely on the "External Expression Editor" command. Having a keyboard shortcut on the "External Expression Editor" is kind of limited (not your fault) as you have to either select or hoover over the "VEXpression" parameter label for the shortcut to work. Whereas the "Edit Expression" shortcut fires if you have the cursor in the snippet field. Would be even better if you could just select the node in the editor and fire of "External Expression Editor" from there. Again, not your fault

I placed the files for this plugin inside a folder and from there I set the path within my houdini.env file for HOUDINI_PATH but when restarting Houdini I was unable to see Set External Expressions Editor from Edit > Preferences within Houdini ?

At 17:17 varomix as a, what appears like an absolute path within his HOUDINI_PATH variable, even though I know he's using Linux. In my case I have an absolute path to the plugin for HOUDINI_PATH and I didn't forget at the end the semi-colon and ampersand characters. Although when restarting Houdini, I see no Set External Expressions Editor from Edit > Preferences within Houdini ?

I'm having the same issue. I have to actually install the plugin's files in my Houdini's home path. I'd like to keep that path clean and instead add a custom path to HOUDINI_PATH. I've done this, but it doesn't pick up the script.

Not sure if this is a deployment issue, but didn't see a better group. Figured someone here would know. I'm having hard time finding anything online about how to do this. I can find info about SAS color coding in notepad++, but nothing about how to run SAS code from it.

Doung, this is really helpful! Was as easy to setup as the article says. It's not one keystroke but that may be okay. I'll have to try it for a while. I like it b/c now I can split my SAS window just between the output and log, and keep my code separately (alt+tab is almost a reflect for me).

2) I had two available keys. First I tried ctrl+G. Nothing was assigned in Keys, but apparently that's assigned to "Go to Line". So what I put in Keys didn't change that. So I applied it to ctrl+J and it worked.

When I was using OS/2 I much preferred the IBM Enhanced program editor but was able to add menu items to editor to run SAS for that script with different options such as passing the location of the script file as the default output location.

1) I work with SAS on two computers at work and one at home, so it's important to me to find a solution that doesn't require me to setup customization on each installation and is easy to reconfigure when SAS is re-installed. It seems like I can set up code display preferences in Notepad++ and then copy that preferences file from machine to machine pretty easily. In addition, my work PCs are locked down so I can't install Emacs or anything like that. I looked into it, but then decided I didn't want to have completely different programming environments at home and work (most programming is done at work anyway).

c80f0f1006
Reply all
Reply to author
Forward
0 new messages