Highlighting of invalid format strings

Hi,

I see that this feature works with String.Format and
StringBuilder.AppendFormat, but it doesn't work with some other
"formatabble" Methods, like Console.WriteLine or log.DebugFormat( from
Log4Net).

Would it be possible to add a configuration setting to specify on what
methods this should work on, as I wouldn't expect you to add in all the
"external" formattable methods?


Cheers,
Joao Paulo Carreiro


1 comment
Comment actions Permalink

Currently the methods list which should be checked for formatting string
problems is hard-coded.
We'll consider to make this list configurable

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Joao Paulo Carreiro" <jcarreiro@hotmail.com> wrote in message
news:djinle$kuv$1@is.intellij.net...

Hi,

>

I see that this feature works with String.Format and
StringBuilder.AppendFormat, but it doesn't work with some other
"formatabble" Methods, like Console.WriteLine or log.DebugFormat( from
Log4Net).

>

Would it be possible to add a configuration setting to specify on what
methods this should work on, as I wouldn't expect you to add in all the
"external" formattable methods?

>
>

Cheers,
Joao Paulo Carreiro



0

Please sign in to leave a comment.