Skip to content

Unlock the project directory after closing the project on it #2288

@evandrocoan

Description

@evandrocoan

Summary

Some times, I need to rename my Sublime Text Project Directory, so I go to the file manager and try to rename it, but Windows does not allowing me, because it says Sublime Text is locking the directory.

Closing all instances of Sublime Text solves the problem and allow the file manager to rename the directory.

Expected behavior

Do not keep locking the Project Directory after closing the Sublime Text Project.

Actual behavior

Sublime Text keep locking the Project Directory after closing the Sublime Text project.

Steps to reproduce

  1. Open some Sublime Text project on the directory A
  2. Open some Sublime Text project on the directory Any Other
  3. Close the project on folder A
  4. Try to rename the directory A to directory B with the file manager

Environment

  • Operating system and version:
    • Windows 10 build 15063 x64
    • Mac OS ...
    • Linux ...
  • Monitor:
    • Resolution 1920x1080
    • dpi_scale used in ST 1.0
  • Sublime Text:
    • Build 3161
    • 32 bit

Related:

  1. Deleting folders from sidebar fails if files in a sub directory were open #2403 Deleting folders from sidebar fails if files in a sub directory were open
  2. File deletion fails without error message on OS X filesystems without a trash folder #1188 File deletion fails without error message on OS X filesystems without a trash folder
  3. Sidebar won't delete files properly #209 Sidebar won't delete files properly

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions