ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Clear Dirty Flag

by 2shortplanks ST3

Sublime Text 3 Plugin to Clear the Dirty (unsaved) Flag

Details

Installs

  • Total 244
  • Win 155
  • Mac 62
  • Linux 27
May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

ClearDirtyFlag

Sublime Text 3 plugin to clear the dirty flag (a.k.a. the “unsaved” round dot in the tab) on any view that has identical content to the on-disk version.

Sublime Text will mark a file as dirty if you edit it, even if you end up changing the content back to what is the on disk version. Similarly, if you switch back and forwards between git branches, lots of files will be potentially marked as dirty even though they're what you want.

If you ever find youself wondering “is this file really changed?” then this plugin is for you.

Usage

Execute the “Clear Dirty Flag” command from the command pallet. All views that have the dirty flag set will have it cleared if the file on disk matches what's in the view.

Author

Written by Mark Fowler mark@twoshortplanks.com

http://github.com/2shortplanks/ClearDirtyFlag