Options

Can we get "SC004 – Found TODO comment" to find items more often?

natevdhNHAnatevdhNHA Posts: 2 New member
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

Sign In or Register to comment.