Skip to content

md opened as binary #3797

Closed
Closed

Description

@sysmat

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

Activity

  1. added
    kind:bug
    needs:triage
    on Mar 17, 2022
  2. added
    kind:feature
    and removed
    kind:bug
    needs:triage
    on Mar 17, 2022
  3. vieiro commented on Mar 17, 2022

    @vieiro
    Contributor

    Duplicate of #3714 .
    This is not an issue, it's a feature request.

  4. neilcsmith-net commented on Mar 17, 2022

    @neilcsmith-net
    Member

    @sysmat can you share a copy of the file? Cannot reproduce.

  5. neilcsmith-net commented on Mar 17, 2022

    @neilcsmith-net
    Member

    @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.

  6. added
    kind:bug
    pending-response
    and removed
    kind:feature
    on Mar 17, 2022
  7. mbien commented on Mar 17, 2022

    @mbien
    Member

    do/did you have the plugin BinEd installed?

  8. sysmat commented on Mar 18, 2022

    @sysmat
    Author
    • utf-8 encoding
    • CR LF(windows)

    README.md

    NB13_MD

  9. 2 remaining items

  10. removed
    pending-response
    on Mar 18, 2022
  11. sysmat commented on Mar 18, 2022

    @sysmat
    Author

    I don't have BinEd and can't find it in netplugins search

  12. neilcsmith-net commented on Mar 18, 2022

    @neilcsmith-net
    Member

    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.

  13. Chris2011 commented on Mar 18, 2022

    @Chris2011
    Contributor

    I don't have BinEd and can't find it in netplugins search

    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"

  14. sysmat commented on Mar 18, 2022

    @sysmat
    Author

    NB13_plugins

  15. Chris2011 commented on Mar 18, 2022

    @Chris2011
    Contributor

    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.

  16. sysmat commented on Mar 18, 2022

    @sysmat
    Author
    • yes, my mistake, I have it and deactivated + restart
    • icon of file is still visbale, but file can't be opened, not even as plain text
    • when on *.md file and right-click no toggle options , so it can not be edited in NB 13
  17. Chris2011 commented on Mar 18, 2022

    @Chris2011
    Contributor

    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.

  18. mbien commented on Mar 18, 2022

    @mbien
    Member

    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.

  19. sysmat commented on Mar 19, 2022

    @sysmat
    Author
    • after removing Roaming\NetBeans\13\config\Loaders\text\x-markdown-nb now it works; @mbien thx
  20. hajdam commented on Oct 11, 2022

    @hajdam

    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?

  21. Chris2011 commented on Oct 11, 2022

    @Chris2011
    Contributor

    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.

  22. added
    caused-by-plugin
    on Oct 21, 2022
  23. Chris2011 commented on Nov 4, 2022

    @Chris2011
    Contributor

    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/)

  24. sysmat commented on Nov 5, 2022

    @sysmat
    Author
    • I'm using NB 15, but now without binary view plugin, and MD editor works fine
    • I'll try bined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    caused-by-pluginkind:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions