Some bugs in Razor files

Hi,

I have some problems with razor files and this is about auto suggestions.

For example, when i want to use @Url.Action, suggestions in action and controllers not worked properly.

@Url.Action("Hom

After Ho, i pressed ctrl+space for suggestion list and Choose Home, the result will be like this:

@Url.Action("Homeom",

Thanks for your attention.

2 comments

Yeah... when you accept a suggestion, it doesn't replace what you already typed; it just appends to it. Totally annoying!

0

Hello Lee and Hosein,

This is a by design behavior. ReSharper has two types of completion: when
you press Enter, selected item simply gets inserted, but when you press Tab,
some text after the caret will be replaced with selected item. So in this
case I'd recommend using Tab to complete an item. Thank you!

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

Yeah... when you accept a suggestion, it doesn't replace what you
already typed; it just appends to it. Totally annoying!

---
Original message URL:
http://devnet.jetbrains.net/message/5304351#5304351



0

Please sign in to leave a comment.