exbin / bined-intellij-plugin

Hex viewer/editor plugin for JetBrains IntelliJ platform
https://bined.exbin.org/intellij-plugin
Apache License 2.0
60 stars 9 forks source link

File can only be opened by clicking "Open As Binary" #21

Closed Kimi-Arthur closed 5 years ago

Kimi-Arthur commented 5 years ago

Awesome tool indeed!

I've found a strange bug using bined with Rider for a binary file named data.bin.

If you click on a binary file, it will open a blank bined editor. If you then use "Open As Binary", it will create a new blank bined editor.

If you close all those windows and right click on the file and select "Open As Binary", it works properly.

I guess the first experience should be similar to the second. Hope that will be fixed!

hajdam commented 5 years ago

Hi, I was testing association with .bin files at some point and forget to remove it.

It was part of next level of integration which would allow to show Binary tab on any file and share file content with other tabs, which is planned for some future release.

I removed .bin association in development version for now if it bothers you (if you have many .bin files for example) and need to use default IntelliJ behavior.

Kimi-Arthur commented 5 years ago

That helps actually! Thanks a lot! I can then open the file and launch the tool.

But of course, once you got the association working, that will even better!

hajdam commented 5 years ago

Should be mitigated in 0.2.1