Commit Graph

16 Commits

Author SHA1 Message Date
Samuel Hawksby-Robinson 0d546db344
Begin implementing the stringer for the todo node tree 2021-01-06 17:26:03 +00:00
Samuel Hawksby-Robinson 2e514a4d9c
Moved TodoFinder.init() to NewTodoFinder func to ensure init is not forgotten 2021-01-06 17:10:58 +00:00
Samuel Hawksby-Robinson 4723f2f47d
Moved node code into dedicated node file 2021-01-06 17:08:15 +00:00
Samuel Hawksby-Robinson 9792ef33d2
Made all compiled regex a field of TodoFinder
This prevents the application from needing to constantly recompiling the same regex patterns over and over
2021-01-06 16:59:11 +00:00
Samuel Hawksby-Robinson b397566aaf
More refactor to move state to be handled by dedicated entities 2021-01-06 16:47:34 +00:00
Samuel Hawksby-Robinson ce7a0f5a38
Moved code out from main into relevant files 2021-01-06 16:38:12 +00:00
Samuel Hawksby-Robinson 41a7931c83
Fixed broken functionality implemented better todo adding 2021-01-06 16:29:03 +00:00
Samuel Hawksby-Robinson 602a263f55
BROKEN - This commit breaks the original functionality, but introduces an effective method of representing found todos in both a table and tree format. 2021-01-06 14:41:25 +00:00
Samuel Hawksby-Robinson 2e275015c3
go fmt 2021-01-05 14:44:31 +00:00
Samuel Hawksby-Robinson 455b5565d8
Implemented code entity tracking
Basically this functionally keeps track of what function or struct the reader is currently in and uses this information to populate any new todo{}
2021-01-05 14:43:12 +00:00
Samuel Hawksby-Robinson 517ca459de
Get additional lines of a todo 2021-01-05 13:23:07 +00:00
Samuel Hawksby-Robinson 6f464f6700
Some minor tidy up 2021-01-05 12:06:41 +00:00
Samuel Hawksby-Robinson 0b0da98b73
Implemented getting line number 2021-01-05 11:44:48 +00:00
Samuel Hawksby-Robinson 5265f5c988
Added dynamic keywords 2021-01-05 11:16:34 +00:00
Samuel Hawksby-Robinson 093d6879d0
Replaced main found map with struct slice to keep discovery order 2021-01-05 00:13:06 +00:00
Samuel Hawksby-Robinson d8c006bf39
Basic functionality that inspects a dir for go files, extracting todos 2021-01-04 23:53:22 +00:00