I suggest you ...

Code formatting exactly like in Visual Studio

I am sharing code between Xamarin Studio and Visual Studio - I'd really like to have the same auto formatting in both IDEs.

Currently it's really hard (impossible?) to have the same settings in Xamarin Studio as in VS. So I can't turn on auto formatting in XS because the two IDEs would constantly reformat my code!

Could you please just copy the VS options so I can make both environments behave the same way?

166 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    chrischris shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    6 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Andrew WitteAndrew Witte commented  ·   ·  Flag as inappropriate

        The biggest problem is you can't turn off formatting without turning off intellisense... This should be fixed.

      • Al PrestedgeAl Prestedge commented  ·   ·  Flag as inappropriate

        Yep, code formatting in latest monodevelop is a total abortion... hopefully they fix it soon

      • DylanDylan commented  ·   ·  Flag as inappropriate

        The latest MonoDevelop version completely f-ed up the styling of code. No matter what options I set it completely messes up the formatting of brackets etc. I don't want to spend my time formatting code just so I can read it, the IDE should do it. If Visual Studio can do it properly the brains at MonoDevelop should be able to sort something out!

      • Jonathan PobstJonathan Pobst commented  ·   ·  Flag as inappropriate

        I am pretty sure that MonoDevelop supports all the formatting options from Visual Studio (plus a few more). The key would be to get the settings exactly the same.

        If you know of any formatting options that VS has that MD does not, definitely let us know so we can look at those.

      • DylanDylan commented  ·   ·  Flag as inappropriate

        Xamarin should actually create a new product called M# (MonoSharper) and implement similar functionality to R# in MonoDevelop. I'm sure people would buy it.

      • Chaitanya MarviciChaitanya Marvici commented  ·   ·  Flag as inappropriate

        I personally use Resharper when in Visual Studio. If something like Resharper was available in Monodevelop that would be awesome to see.

      Feedback and Knowledge Base