Hi all,
I’m at the point where my plugins are getting pretty hairy and I’m looking for the right way to organize my code into manegable bite-sized chunks. This has lead me to try and implement a workspace hierarchy, but I am having trouble importing sub modules. For me, I typically organize my code into workspaces > projects
So under “Sublime Text 3 / Packages” directory I have the “workspace_txt” directory
Inside “workspace_txt” there are a number of projects, mostly proof of concept stuff… used to gradually piece together the various functionality for a working system
Example:
workspace_txt
sublimeplgn_dothis
plgnfile1.py
plgnfile2.py
plgnfile3.py
sublimeplgn_dothat
plgnfile1.py
plgnfile2.py
plgnfile3.py
sublimeplgn_dobedobedo
etc...
I understand from reading the forum that sublime only ‘imports’ one level. That is, things were working with my big hairy plugins as long as they were directly under “Sublime Text 3 /Packages/workspace_txt”. One would see it load in the console upon starting sublime. But upon organizing them into project sub directories i.e. “sublimeplgn_dothis” they no longer are loading when sublime starts up.
So is there a way to implement this sort of organization / structure? Or should I be doing this differently?
thanks for any and all help