This repository has been archived on 2026-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
snp/TODO.md

1.2 KiB

Features

--new (name)

[ ] Create a new snippet with given name at the default location (where tho ?)

name args

[ ] Use the snippet name with one or more args [ ] Args must be split up [ ]

TODO

[ ] Make a lib for dynamic_format and snippets (impl make a trait for have .id() and other future t) [-] Have identical attributes with {0} {1} {0} (^^^^^) [ ] Benchmarks [ ] Better modes [ ] Test populate_actions [ ] Change all uncatchables errors to expect to be more helpful or change them to better errors [ ] Document non coverage

Currently working on

[-] Coverage [ ] Proceed one by one and catch errors [-] Remake all helper functions [] locate_snippet [] create_snippet [] edit_snippet [] edit_whole_snippet [x] print_snippet [-] Finish tests on [] locate_snippet [] create_snippet [] edit_snippet [] edit_whole_snippet [x] print_snippet [ ] Cargo test must always have the test feature

Finished

[] Make custom errors [] Transform all panic in errors [*] Make functions into methods

Posponed or rendered useless

[x] Chain the methods when possible with result ?