R
R
rd962016-05-19 15:53:06
SFTP
rd96, 2016-05-19 15:53:06

Does Sublime text keep history of file changes?

In general, I edited the html page, saved everything and sent it to the server, didn’t change anything locally, worked
through the SFTP plugin for Sublime. So, then the client wrote that the page was cut off, etc., in general, you need to find the file change history via SFTP. I understand that most likely this is not possible, but still, as they say, what if. It is very necessary. Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sasha Chernykh, 2016-07-16
@Kristinita

Who likes these answers?
Let's look at the question from a general standpoint:
1. Sublime Text is an advanced editor, even a very advanced one, and, in theory, all important functions should be present in it. Reverting to previous file changes, in my opinion, is one of those. 2. The program has a large community, more than 2500 plugins have
been written in total . When I once looked for an answer to your question, I was sure that the right plugin is there. Or at least there will be a long discussion on Google, where many are in favor of creating it. It's called Local History
. With the plugin installed, after you save any file in Sublime Text 3, a copy of the file is created in the Local History folder. The same file is saved again - a new copy is created, and the old one remains and is not overwritten. You can always return to any of the previous versions or compare the current contents of the file with them. Basic settings : you can set the storage time for versions - I set unlimited - and the path to the Local History folder.
Unfortunately, it is not possible to quickly replace the file with its copy, but otherwise Local History serves me for several months, and I had to resort to it several times.
Thank you.

Сергей Новиков, 2016-05-19
@BOOMER_74

Никакой локальной истории в Sublime Text (может плагины есть, но я не пользуюсь таковыми). Используйте Git в следующий раз или WebStorm/PhpStrom (в них есть локальная история без необходимости в VCS).

Z
zooks, 2016-05-19
@zooks

Нет. Для таких случаев используйте git.

I
ildar r. khasanshin, 2016-09-30
@ildarkhasanshin

пользуюсь https://github.com/akalongman/sublimetext-autobackups более полугода
+ стабильность
+ гибкие настройки
- со временем становится долгое открытие списка рез. копий (когда директория с бекапами становится большой)
@Kristinita
сравнивали ли этот плагин с Local History (плюсы/минусы)?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question