Hello
I have been working on a custom Sublime Text plugin that extends the functionality of the sidebar context menu to include some batch renaming features. When I run the plugin in my local
Packages/User/
directory; everything works perfectly. However; when I zip it up and install it via Package Control
/ place it in the Installed Packages
folder, certain features especially file operations either throw silent errors / don’t execute at all.
I have checked for basic issues like folder structure;plugin_loaded()
& dependency loading. It seems like file path resolution / package scoping behaves differently when the plugin is not in development mode. I am curious: are there hidden sandboxing / permission nuances when Sublime loads a plugin as a
.sublime-package
archive?
I have checked https://docs.sublimetext.io/guide/extensibility/plugins/ guide for reference . While exploring automation concepts similar to uipath. I wondered if similar task automation could be integrated into Sublime plugins.
Would love guidance from experienced plugin developers on how to debug this scenario. Maybe there’s a best practice for logging errors inside compressed plugin packages / using sublime.executable_path()
for dynamic path fixes?
Thank you!!