-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Can't get the context menu of a binary file #6899
Comments
|
En easy fix for this is to add a Custom Viewer for the audio and binary languages and try to change the language of a file that was not on the list but couldn't be opened to binary. The Custom Viewer could just show basic info on the file and maybe some message, and maybe an icon. If we do that, we won't have any issue with showing the file on a right click. |
a custom viewer seems like a lot of work. |
It is not really that complex. Is just an html file with like 10 lines of code and like 50 lines of JavaScript. It will just show basic information, so it won't be as complex as the images viewer. My fonts viewer is more complex than this and the JavaScript file is about 100 lines of codes with lots of comments. It will also make it a lot better experience than showing a popup when selecting a binary file. |
I said "seems-like" :) and I meant "for me". It does raise a few questions though. I'm guessing it works sort of like images do so they aren't in the working set. This will eventually change as we plan to do split view with things in the working set that aren't necessarily editable. Let me take a look at your fonts viewer I'm thinking we would definitely like to fix #4690 as you suggested but this may be something to ponder. |
I don't think that it would be a bad idea to place the binary files with their custom viewers in the working set. It might be better to just treat those files as normal files. This will fix this, but is mostly a fix for #7608. Issue #4690 should be fixed since is not only an problem for binary files, but also for huge minified files, that will still open but take a long time. |
Assigning to |
|
Note: I've closed #8083, which is describing the same exact problem except for non-UTF-8 files -- which are effectively the same as binary files from Brackets's standpoint. We should try to fix both cases together. |
|
My question is why is it important that brackets can open the file? It would be faster to only open the context menu without opening the file. If I want to rename the file it's unnecessary to wait until the file is shown. |
|
Note: this maybe be obsoleted soon since #4690 is slated for a fix in the near term. It could still be cool to show a custom viewer with basic file stats when the file is explicitly left-click selected (instead of an error modal as today), but it'd probably a lower-priority 'move to backlog' at that point... |
|
This is fixed with the new file tree/ProjectManager implementation. FBNC. |
|
It's on a branch still On Monday, September 15, 2014, Lance Campbell notifications@github.com
|
|
I'm setting this FBNC because this has landed in master. |
|
Confirmed Fixed. Closing |
Monday Apr 28, 2014 at 17:55 GMT
Originally opened as adobe/brackets#7676
WHen right clicking on files that cannot be opened by brackets,
You get a "file cannot be opened" alert and then you cannot do other things to the file
such as rename, delete or "show in finder"
The text was updated successfully, but these errors were encountered: