Sublime Forum

Sublime renames some files into *.dump automatically

#1

I’m using Sublime 2.0.2 build 2221 on Mac.
I noticed that when I open certain files like a C# (.cs) or a log file (*.log).
Sublime automatically renames the file into .cs.dump or .log.dump.
So that I can never save my edits to the file directly.
And this only happens to very specific files not every file of the same type.

What am I missing here?

0 Likes

#2

Never seen that behavior, but could be a plugin to. Try reverting to a clean state and see if the problems persists. At a minimum, this will tell you where the problem is actually coming from.

sublimetext.com/docs/2/revert.html

0 Likes

#3

Maybe this plugin (GBK Encoding Support) caused this issue.
When I open files with Chinese characters ,and if these files do not saved as UTF-8, then .dump occurs…

If the GBK Encoding Support plugin is removed, and open the same files mentioned above, the .dump will not show, (Chinese characters will not show correctly either)

0 Likes

#4

Here is some more info:
By using “file” command, I find differences between normal file and abnormal file:

  1. normal file: UTF-8 Unicode text, with CRLF line terminators
  2. abnormal file: ISO-8859 English text, with CRLF line terminators
0 Likes