morbac / xmltools

XML Tools plugin for Notepad++
GNU General Public License v3.0
263 stars 59 forks source link

Directory cannot be renamed or deleted after editing a contained XML file #179

Open dean-e-peterson opened 2 years ago

dean-e-peterson commented 2 years ago

If I edit an XML file with XML Tools installed, I cannot rename or delete the directory containing that file even after closing the file. I have to close Notepad++ to rename or delete the directory. To reproduce:

  1. Create a directory.
  2. Copy an XML file into that directory.
  3. Open the XML file in that directory in Notepad++.
  4. Make an edit to the XML file. (Example, add and remove a space.)
  5. Save the XML file.
  6. Close the XML file in Notepad++.
  7. Try to delete the file. It succeeds.
  8. Try to rename the directory from Windows Explorer. It fails, saying "Folder In Use: The action can't be completed because the folder or a file in it is open in another program ... Close the folder or file and try again."
  9. Try to delete the directory from Windows Explorer. It fails, saying "Folder In Use: The action can't be completed because the folder or a file in it is open in another program ... Close the folder or file and try again."

Versions:

Other notes: