I suggest you ...

Multiline parameters code format (Ctrl+k,Ctrl+d)

In MVC 4 project open App_Start\RouteConfig.cs file and paste the following:

routes.MapRoute(
name: "MyName",
url: "MyName/{action}/{id}",
defaults: new { action = "Index", id = UrlParameter.Optional }
);

You will notice the multi-lined parameter list is not formatted correctly (with 4 space indentation bias). Pressing Ctrl+K,Ctrl+D won't work either.

3 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Pam shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base