Dirty.swp for Visual Studio Code.swp file locking and detection Dirty.swp helps editing in shared environments by locking files you are edting by creating .swp files (like Vim). The extension also detects and warns you if anyone else is editing the files you open or are editing yourself. By default any dirty file will be locked but you have the ability to lock files until you close them. DisclaimerUse this extension at your own risk. I cannot guarantee that it will work flawlessly in all situations. LimitationsDirty.swp does not create valid Vim swap files but rather just simple file containing a unique machine id and an optional name (which can be set in settings and will show other Dirty.swp users who has locked a file). CommandsDirty.swp has four commands:
Whether Dirty.swp starts active or paused can be toggled in the settings. Status barBy default Dirty.swp comes with a status bar item (label: .swp) in the bottom left that opens the Dirty.swp menu (List locked files command). The status bar item can be disabled in settings. Repository |