todo-to-issue-action icon indicating copy to clipboard operation
todo-to-issue-action copied to clipboard

Renaming TODOs

Open fdietze opened this issue 3 years ago • 5 comments

I just had an idea how to handle renames: If there is a TODO removed and added in the same line of the file, it should be renamed in the github issues.

Would that be possible?

fdietze avatar Aug 12 '21 10:08 fdietze

Good suggestion. I'll look into it!

alstr avatar Aug 13 '21 07:08 alstr

Hey @alstr, I'm totally amazed by ur work, any updates on this one? I tend to reword or update todo often. Also, is it possible to update the todo content as well

thanks

kkharji avatar Mar 12 '22 00:03 kkharji

Hi @tami5, thanks very much. At the moment updating TODOs isn't supported but it is still something I want to add. It seems possible. I'll try and look at it soon but if anyone wants to submit a PR feel free.

alstr avatar Mar 14 '22 16:03 alstr

@alstr Maybe the reference can be used as a unique identifier? An boolean input with REFERENCE_AS_IDENTIFIER can be perhaps used to link todos to issues. If reference is an issue, maybe a new field called identifier be used similar to labels and milestone

It can also be used to solve #73 and maybe even #98

iamKunal avatar Jun 01 '23 20:06 iamKunal

@iamKunal Yes, that's a good idea and probably the best option at this stage. Definitely something I would like to look into.

alstr avatar Jun 09 '23 08:06 alstr