Sublime Forum

[solved] How to manually load plugins...?


i am building my sublime text plugin externally. I’ve noted that every time i install the loose files of the plugin into sublime text packages directory, a restart of sublime text is required.

how can i manually trigger the load of plugins?



Plugins automatically reload when the file they’re in changes, so just saving the plugin is enough to reload it.

Note however that only python files in the root of a package are plugins; other Python files inside of the package in subfolders aren’t plugins, they’re just regular Python files. Your plugin can import from such files, but Sublime doesn’t hot reload them.

To do that you would need to make your plugin do the reload itself, or use a package like AutomaticPackageReloader.

1 Like