Problems with literal strings

When typing a literal string with Resharper 2.02, I get buggy behavior with
the quotes. A literal string is a string that is preceded with an "@"

If I type:

string str = @"

no "closing quote" is appended. However after I type the string and the
closing quote, it suddenly doubles up the final quote, leaving things
looking like this:

string str = @"c:\this\is\a\test""

This is bad. For some reason, adding the "@" at the beginning prevents the
normal quote handling from functioning correctly.

1 comment
Comment actions Permalink


The problem is likely to be fixed in build 307.

Sergey V. Coox
JetBrains, Inc
"Develop with pleasure!"


Please sign in to leave a comment.