FormatMessage - Placeholders highlighting

Hello,

I have two questions related to format placeholders highlighting:

1) How can I make it work inside FormatMessage function?

2) Is it possible to make it work for custom functions? (with External Annotations or something like that)

Best Regards,
Miroslav Jelínek

1 comment

Hello,

1) You can't, sorry. FormatMessage seems to have its own syntax and would require proper support. So far only two kinds of syntaxes are recognized - printf-like and boost::format.

2) Not yet. We might add a way to annotate that a function accepts printf-style arguments (please vote for https://youtrack.jetbrains.com/issue/RSCPP-15890) - but it again won't work for FormatMessage, since it has a different syntax.

Thanks for the feedback!

0

Please sign in to leave a comment.