This thread will document the making of my first extension.
When working on my own projects I am powered by todo lists.
I organise them by headings, and it could be thought of a sort of vertical kanban board (like Trello) in a text file. Items are moved downwards from section to section as the project progresses.
TODO - item one - another item TEST - something that needs checking DONE - completed item
I then take the “done” items and duplicate them to my changelog, where i expand them manually with a description.
I had the idea to make an extension to make it easier to work with this type of file. Specifically, to automate moving of lines between sections. I already use Nova’s move line shortcut (Option/Alt + up/down) but it would be good if this extension could make it even quicker and easier.
I think I would need just a few simple functions:
- find next/prev heading line number n
- move current line to line n
- duplicate current line from current file to changelog file
So my first question is: are there library functions to save me having to write these myself? Particularly move line, which is more of a generic thing.
Any thoughts or pointers appreciated. Thanks!