Sublime Forum

Disable image preview

#1

I have a suggestion.
I would like to have a way to disable image preview.
As a developer I sometime need to confirm encoding of images, to validate the extension of the file matches the encoding. Now the way I do it is I rename the image file to change its extension so Sublime Text does not think it’s an image. This is really annoying.

Could be any way that makes more sense.

  • Disable/Enable in preferences
  • Enable the “Reopen with Encoding” menu
    (and not only Hexadecimal encoding, all encoding are really useful)
  • Add contextual menu to “Reopen as Text”, “Copy File Path”, and “Open Containing Folder…”

Also I have a question:
I tried to write a plugin and noticed that no events are fired when opening an Image. Is this the indented behavior ?

0 Likes

Image viewing in sublime text
#2
0 Likes

#3

In short, images are displayed in Sheets. The editor pane is presented in a View, which is contained in a Sheet. One of the things I am working on this working is adding documentation to the API reference for the Sheet class.

5 Likes