How do I change the auto complete behavior in the VS 2010 editor?

Posted by pinkmuppet on Stack Overflow See other posts from Stack Overflow or by pinkmuppet
Published on 2010-03-19T15:42:56Z Indexed on 2010/03/19 16:01 UTC
Read the original article Hit count: 222

Filed under:

How do I stop VS 2010 (RC) from autocompleting html helpers with new object { ... } when I just want to pass in an anonymous type? Backspacing is driving me crazy.

e.g., VS wants:

<%=Html.ActionLink("Register", "Register", new object { controller = "Account" }) %>

I know the helper is declared expecting object, which is why it does this, but can I change this behavior just for mvc helpers?

© Stack Overflow or respective owner

Related posts about visual-studio-2010