Sublime Forum

[SOLVED] Error developing plugins

#1

Hey guys, i’m having troubles developing Sublime Text plugin
1st: .sublime-completions files not loading completions (actually my plugin overloads the on_query_completions method in one module
Note: only fails in “.py” files that are part of the plugin

2nd: the modules that i’m writing, is not being updated by sublime when i save
Note: reopening sublime works, but i won’t reopen sublime on every save perform

Aprecciate the help guys!
PD: restarting windows does not fix the problem.

0 Likes

#2

ST only reloads files that are in the main folder of a package, not in any subfolder. This is also because of how Python imports are always cached in sys.modules and you’d need to use imp.reload on the module to trigger a reload from within code.

Your first issue description is too vague.

0 Likes