Dividing files into smaller modules #844
Replies: 3 comments 10 replies
-
Yea I think that's a good idea. I always split things like that in my projects. |
Beta Was this translation helpful? Give feedback.
-
Totally, I'd just wait until we start paring down that list of 73 PRs |
Beta Was this translation helpful? Give feedback.
-
Yeah I will start working on splitting app_state.rs ( App state focus enum, list entry struct and new fn) hints.rs ( keybinding hints ) misc.rs ( Functions like selected_item_is_cmd, enable_preview, refresh_tab, etc ) This what I was thinking about, is this overkill ?? or is it okay ?? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Should we split the files into small modes for modularity and maintainability ?
For example seperating the draw function and handle_function from state.rs into separate files as ui.rs and keybindings.rs and having a parent module as app state
Summoning the gods here @ChrisTitusTech @lj3954 @adamperkowski @cartercanedy @nnyyxxxx @JustLinuxUser @afonsofrancof
Beta Was this translation helpful? Give feedback.
All reactions