3 ms·
Maybe someone can share their methods, I find notebooks tend to get messy very fast, a lot of scrolling and forgetting where certain cells are and what context
by godmode2019 5y ago
Maybe someone can share their methods,
I find notebooks tend to get messy very fast, a lot of scrolling and forgetting where certain cells are and what context is at the point, did you do any tests before, has a variable changed.
What I wanted was a production panel and a explore panel. To separate the exploring from the production code.
Maybe panels, maybe colour coded maybe hiding cells except a title. Anyway to stop the mindless scrolling.
Cells should be searchable via the first comment similar to sublime @funtion_name will take you to that function.
I spend half my time scrolling around getting lost.
I often cut cells and move them around to a new context which is time consuming and I have lost cells more than once by forgetting to paste them and copying something else mid way scrolling up the page. Would be nice to have a have a panel for saved cells where I can call by !call:cell_name or similar.
Notebooks are very helpful, has anyone found any ways to solve these problems?
- davidatbu 5y agoIf you're a (neo)vim user, I highly recommend using something like https://github.com/hkupty/iron.nvim https://github.com/hkupty/iron.nvim . Using this, I never have to copy and paste "production code" into "exploration code/notebook", because I simply select the part that I want to test in the production code, and then type in some key mapping to run it.