New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
md opened as binary #3797
Comments
Duplicate of #3714 . |
@sysmat can you share a copy of the file? Cannot reproduce. |
@vieiro this doesn't sound like a duplicate of that feature request. It sounds like a possible bug, but not one I can reproduce on my setup. |
do/did you have the plugin BinEd installed? |
|
Verified with BinEd plugin as @mbien stated. Not a bug in NetBeans. Please uninstall BinEd and report an issue to the plugin author. |
I don't have BinEd and can't find it in netplugins search |
Please try with a clean userdir and without importing settings then. It might be that it's left something behind. That action and display comes from that plugin. |
I'm pretty sure that you have it. The plugin had an other name before, just search for "bin" or "hex" and make sure you checked the checkbox for "Show details" |
As I said, you need to check the checkbox "Show details" over the list and use the search field on the right to search for hex or bin if the list is to long. What you see in the list is just the categories. |
|
I can reproduce it. There are no actions on the file. Just mine from my plugins, also no error/exception. What happens, when you try to have a clean user dir for NB 13? Just rename the user dir to 13.0-bak or so and try it again. |
looks like my suspicion was correct, you had BinEd installed. BinEd registers its open action in a fairly creative way to all available file loaders. It persists even after uninstalling. you have to reset your config or remove/fix manually the files in "~/.netbeans/13/config/Loaders/text/" x-markdown-nb specifically for md files, but there might be others. i really like BinEd, but we should consider removing it from the plugin portal until this is fixed. This seems to cause too much trouble, I saw someone else with the same issue on slack recently + it happened to me too. in any case: the right place for filing this issue would be the BinEd project, we can't do a lot from here. |
|
Any recommendation how to fix the issue for bined plugin - better approach to register action for all file types? It seems that netbeans uses "-nb" postfix for dynamically registered file types or is there better access to internal repository? |
In general we don't have this postfix in other mimetypes and also we shouldn't. I dunno why -nb was added but in general we don't have it. |
Hey @sysmat please check with latest NetBeans 15 (I think NetBeans 16 is around the corner) and with newest Bined-netbeans-plugin 0.2.4 (https://bined.exbin.org/netbeans-plugin/) |
|
Apache NetBeans version
Apache NetBeans 13
What happened
*.md file extension is recognized an icon is ok, but NB only have option open as binary
How to reproduce
No response
Did this work correctly in an earlier version?
Apache NetBeans 12.5
Operating System
windows
JDK
17
Apache NetBeans packaging
Apache NetBeans platform
Anything else
No response
Are you willing to submit a pull request?
No
Code of Conduct
Yes
The text was updated successfully, but these errors were encountered: