Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by Tomer-Barkan · Nov 17, 2013 at 12:58 PM · monodevelopunity4.3

Monodevelop resets formatting preferences

I used to use Visual Studio Express to develop my Unity code, but with 4.3 that includes Monodevelop 4 I decided to give it a chance, and so far it's pretty good.

The problem is that it doesn't seem to keep my preferences... I change the code format settings in Tools -> Preferences -> Source Code -> Code Formatting -> C# source code. I change the policy to Custom, and then in the C# format tab I edit the policy and change bracer and whitespace settings. It works fine for a while, but then every once in a while it resets back to the default. I haven't been able to figure out when/why it happens, but it's pretty annoying. The color scheme on the other side is saved correctly and doesn't reset.

Any ideas?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
8
Best Answer

Answer by hamstar · Nov 20, 2013 at 06:11 PM

It might be that the policy is not being applied to the whole project. Try creating a custom policy in Tools > Custom Policies, and then apply it through Project > Apply Policy.

[update]

Project policy settings can inherit from the Solution policy, so it might be possible that things are being overwritten. Try setting the policy on the solution as well, in Project > Solution Options > Source Code > Code Formatting > C# source code.

Comment
Add comment · Show 9 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Tomer-Barkan · Nov 21, 2013 at 05:27 AM 0
Share

I'll give it a try, will let you know if it helps. Thanks.

avatar image Tomer-Barkan · Nov 28, 2013 at 07:09 AM 0
Share

Thats not working either... Don't know exactly when, but sometimes when I open monodevelop it all resets to the defaults... I can then re-apply the policy but I don't get why it keeps resetting.

avatar image hamstar · Nov 28, 2013 at 09:18 AM 1
Share

Are you working on multiple projects? The policy should be applied automatically to any new projects, and for any existing ones you should just need to apply it once.

Project policy settings can inherit from the Solution policy, so it might be possible that things are being overwritten. Try setting the policy on the solution as well, in Project > Solution Options > Source Code > Code Formatting > C# source code.

avatar image Izina · Nov 28, 2013 at 09:55 AM 4
Share

Try setting the policy on the solution as well, in Project > Solution Options > Source Code > Code Formatting > C# source code.

I had this problem when I started working with monodevelop. I used this solution, and it worked great for me :)

avatar image hamstar · Nov 28, 2013 at 10:05 AM 0
Share

O$$anonymous$$ great, I'll add it to the answer.

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Set custom policy for mono developer 0 Answers

MonoDevelops on the fly code formatting off 1 Answer

MonoDevelop Style Code Hinting In Visual Studio 1 Answer

MonoDevelop no longer getting global Unity defines 1 Answer

How to change monodevelops theme? 9 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges