0

Examining some files (log files, *.ldb files which are backups created by a chrome extension and so on) I find that some of those files are seen OK by Mac's QuickLook:

QuickLook


But sublime open them like this:

Sublime 3


Explanations? Fixes?

Neithan Max
  • 11,004
  • 5
  • 40
  • 58

1 Answers1

0

In ST3's default preferences is the following:

// Files containing null bytes are opened as hexadecimal by default
"enable_hexadecimal_encoding": true,

so I guess your ldb files contain null bytes. Simply set this to false in your user preferences, and ST should try to display the file as text.

Keith Hall
  • 15,362
  • 3
  • 53
  • 71