Bug, do not use code snippets in comments

I just discovered funny bug - when entering code snippet keyword into comment, it gives you the possibility to add the snippet there. I guess this should not happen in comments - see the screenshot
Using VS2010 SP1, R# 6, x64
Capture.PNG

4 comments

I can imagine to use this for boilerplate type of comments like for properties...^^

0

Hello Martin,

Actually I wasn't able to reproduce this behavior. Does this happen even
in a newly created class library project? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I just discovered funny bug - when entering code snippet keyword into
comment, it gives you the possibility to add the snippet there. I
guess this should not happen in comments - see the screenshot
Using VS2010 SP1, R# 6, x64
Image:Capture.PNG
---
Original message URL:
http://devnet.jetbrains.net/message/5321600#5321600



0

I've tested it and it happens only when adding comments to class methods (maybe on other places too, but I have not tested all possible comment places)
Untitled.png

0

Hello Martin,

This turns out to be a known bug and you're welcome to vote for it here:
http://youtrack.jetbrains.net/issue/RSRP-254997. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I've tested it and it happens only when adding comments to class
methods (maybe on other places too, but I have not tested all possible
comment places)
Image:Untitled.png
---
Original message URL:
http://devnet.jetbrains.net/message/5321895#5321895



0

Please sign in to leave a comment.