Sublime Text 2 在哪里存储编辑信息? [英] Where does Sublime Text 2 store editing information?

查看:44
本文介绍了Sublime Text 2 在哪里存储编辑信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我执行这些步骤时:

  1. 在 Sublime Text 2 中打开现有文件.
  2. 在文件中的任意位置输入任意文本.
  3. 关闭 Sublime Text 2.

注意,我没有保存更改.

Note, I have not saved the changes.

  1. 打开 Sublime Text 2.
  2. 打开第 1 步中的文件.

我看到文件有变化.但是如果我在记事本中查看文件,我看不到任何变化.

I see changes in the file. But if I view the file in, let's say, Notepad, I see no changes.

Sublime Text 2 在哪里保存对文件所做的更改?

Where does Sublime Text 2 keep the changes made to files?

推荐答案

就我而言,这个问题还没有完全回答......

As far as I'm concerned the question isn't answered completely...

正如 nnnn 解释的那样,项目未保存的更改保存在其 sublime-workspace 文件中.

As nnnn explained, the unsaved changes of a project are saved in its sublime-workspace file.

但是如果你还没有创建一个项目并且你只是在处理一些文件,sublime 也会记住未保存的更改.这些保存在Session.sublime_session"中.

But if you haven't created a project and you are just working on some files, sublime also does remember the unsaved changes. These were saved in 'Session.sublime_session'.

在哪里可以找到会话,取决于您的操作系统:

Where the session can be found, depends on your operating system:

  • OS X:~/Library/Application Support/Sublime Text 2/Settings/
  • Windows:%APPDATA%\Sublime Text 2\Settings\
  • Linux:~/.config/sublime-text-2/Settings/

(我只是在 官方崇高论坛)

这篇关于Sublime Text 2 在哪里存储编辑信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆