Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Brackets crashes when clicking on a large file on the sidebar #8300

Closed
MikeSpock opened this issue Jul 3, 2014 · 3 comments
Closed

Brackets crashes when clicking on a large file on the sidebar #8300

MikeSpock opened this issue Jul 3, 2014 · 3 comments

Comments

@MikeSpock
Copy link

I've got a big .sql dump of 400MB in my project.
Opening it crashes Brackets immediately, which seems to be not only a flaw in error handling, but a usability problem too (aside of obviously loosing unsaved changes). One can learn not to open large files, but due to Brackets' behaviour, the same thing happens when I want to delete it - right clicking files in the sidebar opens up the file.

imo this would be solved if

  • left clicking large files would open a prompt window, alerting users, that this could take a while, and if choosing yes, opening files in a plain text mode, w/o codemirror plugin (hopefully that would allow to edit medium sized files)
  • large files wouldn't open on right click, only the popup should appear
@dangoor dangoor added this to the Brackets 1.0 milestone Jul 14, 2014
@dangoor
Copy link
Contributor

dangoor commented Jul 14, 2014

Reviewed medium priority, 1.0, "Project Management".

@MikeSpock We'll probably want to add a dialog that says that Brackets doesn't handle files bigger than X, with a preference that's able to change the threshhold.

I've been working on a new version of the file tree that does not automatically open the file when you right click on the it.

@peterflynn
Copy link
Member

Closing -- duplicate of #7223, which has the same fix proposal there too

@pthiess pthiess mentioned this issue Aug 17, 2014
30 tasks
@dangoor
Copy link
Contributor

dangoor commented Sep 15, 2014

When #8788 is complete, right-clicking on an item in the file tree does not open the file, which is the second proposed solution in the original description.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants