sublime_zk icon indicating copy to clipboard operation
sublime_zk copied to clipboard

Splitting the code?

Open jonathan-s opened this issue 7 years ago • 1 comments

May I suggest that you split up the main code file into sizeable modules. For a reader and potential contributor it becomes a lot easier to get an overview of how the different pieces fit together.

jonathan-s avatar Mar 18 '18 10:03 jonathan-s

😄 I hear you. Been thinking about that myself. Was just a bit wary because Sublime Text just seems to import all .py files and I wanted to dig deeper into this to ensure nothing bad happens when modules are imported in random order.

BTW many functionalities are pretty much encapsulated/grouped into (static) classes, and then just called from within the Sublime Command implementations. You're probably aware of this already... But I agree, at some point, splitting the file into smaller modules makes sense. It's on the todo list now 😄 . Thanks for pushing this ;-)

renerocksai avatar Mar 18 '18 21:03 renerocksai