How to lock a file


when i finish a file ,is where a way to > lock it ,then can not modify it by accident or any …


There is not a way built-in to Atom. Depending on your OS, there is most likely some method of making a file read-only through permissions or some other method.


yeah,but can do like this way:just make this file ** false appearance** locked,not real locked,it just lock for atom,so when i use atom editor to changes this file alert a warning message,


As I said, there is not a method to do this built-in to Atom.


@Javacym you can try these 2 packages in combination: