Sublime Forum

Any way to disable automatically opening of image files?

#1

This is one of the more annoying things about working with Sublime Text. I use the SFTP plugin and often right-click files in the files column to upload them via FTP. When I’ve done that, I have to close the file since it opened automatically. It’s worse when I choose “Delete local and remote files” in SFTP, in which case I also get a “This file has changed” dialogue I have to get rid of. :question:

There’s gotta be a setting to not auto-open certain file types right?

0 Likes

#2

I’ll second that.

In my case the problem is not network based, it’s just opening a large binary file in a text editor window is slow and pointless. I’d like to be able to right click to open pdf files, archive files, etc, but ST handles this badly.

I’d like to see the following behaviour for the side bar:

  • left click opens the file in a text editor
  • right click opens the contextual menu and waits for the user interaction with that menu before doing anything, and only opens the file where the menu selection indicates that.
1 Like