Comment with string "bug" gets marked as Todo

When I have a comment with the string "bug" in it, it gets marked by Rider in the same way it would if I had the string TODO in there - so the comment gets a custom color and error stripes are added to the side of the screen.

That's probably a good idea in general - if you've written a comment about there being a bug somewhere, that should be fixed!

One of our projects, though, is a bug tracker. When we write about "bugs" in comments there, they're not bugs in our code, they're the bugs we're tracking. So they're supposed to be there.

 

I can't find out if it's possible for me to turn off this behaviour for that project? It's annoying to open a file, see that there's warnings in the file, scroll up, only to find that they're completely sensible comments, like "// bug row height"

0
1 comment

Hello @...,

 

Thank you for the detailed description. You can disable editor highlight of "bug" strings by removing or editing the pattern, found at Editor->TODO settings section. You can read more about it here.

 

Let us know if you have any questions.

1

Please sign in to leave a comment.