Post

Sublime-AddFolderToProject - Release 2.1.0

Sublime-AddFolderToProject - Release 2.1.0

2.1.0

Changed

  • Refactored AddFolderToProject.py for readability (formatting, removed unused class-level folder lists).
  • CreateProjectFromFile.run uses paths=None instead of a mutable default argument.
  • Readme icon includes alt text.
  • Dependabot GitHub Actions updates run monthly with a 7-day cooldown.
  • Default add_folder_to_project_folders is an empty list instead of /Users, so extra macOS paths no longer appear on Windows.

Fixed

  • Remove Folder from Project resolves project folder paths against the project file directory before comparing, so relative entries (for example sub or .) remove correctly without FileNotFoundError. Thanks to @dpc00 (#1).
  • Add Folder to Project parent-folder list walks paths with os.path.dirname() so Windows ends at the drive root (C:\) instead of bare C:, and Unix paths list all ancestors. Thanks to @dpc00 (#2).

Full Changelog: https://github.com/dennykorsukewitz/Sublime-AddFolderToProject/compare/2.0.0…2.1.0


This post is licensed under CC BY 4.0 by the author.