Can we get "SC004 – Found TODO comment" to find items more often?
natevdhNHA
Posts: 2 New member
in SQL Prompt
I was recently writing code and had multiple todos in an area. I did what I would normally do in this case:
/*
Todo
1. Blah
2. Blah
3. Blah
*/
I expected this to be picked up by "SC004 – Found TODO comment" but it was not.
I did some research and it feels like the text needs to be a little to specific in order for it to be found currently
-- ToDo blah blah blah
^ Works
-- checks todo blah blah blah
^ Does not work
-- ToDo
^ Does not work
/*
ToDo
^ Does not work
Blah
blah
blah
*/
/*
-- ToDo
^ Does not work
Blah
blah
blah
*/
/*
-- ToDo blah
^ Works
Blah
blah
blah
*/
Can we get this expanded a little bit to find any time the word ToDo is found in a comment?
SSMS: 17.7
SQL Prompt: 9.1.13.5130
Tagged:
Answers
Thanks for your post.
Yes, this is something you could put on the SQL Prompt Uservoice page below for potential future implementation.
https://redgate.uservoice.com/forums/94413-sql-prompt
Kind regards
Richard Lynch.
Redgate Software