Re:NotepadNext: A cross-platform reimplementation of Notepad++
by chongli on Friday April 08, 2022 @05:19PM
(#30962636)
My main editor is vim. It notifies the user when a file you have open in a buffer gets modified on disk by another process. It explicitly gives you the option to load the file from disk at this time. I would not use a text editor which silently reloads a file because this could result in a loss of work.
Re:NotepadNext: A cross-platform reimplementation of Notepad++
by dataflow on Friday April 08, 2022 @05:22PM
(#30962660)
Yeah Notepad++ asks you too. I don't know of any editors that silently discard changes by default.
Re:NotepadNext: A cross-platform reimplementation of Notepad++
by workerdrone451 on Friday April 08, 2022 @06:41PM
(#30963380)
While many editors will come and go, vi in some form will always remain. Once you "get" it, using anything else starts to become alien.
On Windows in particular you also have a ton of other facilities that could help with this (opportunistic locks, transactions, etc.) but notification is usually good enough.