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
1
Question by darkmax · Mar 22, 2012 at 12:53 AM · c#monodevelopstringscomments

Underscore change for a space in monodevelop

when i write a string with a comment on the right the monodevelop replace the underscore for a space, for example this line(on c#, i haven't tried on javascript):

string str = "This_is_a_string"; //A string

the monodevelop shows this:

string str = "This is a string"; //A string

The string is saved correctly just the displaying of the string in the monodevelop is changed, at first i was confused but i want to know why is this happening?

Edit: this the video that shows the problem

Comment
Add comment · Show 6
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 syclamoth · Mar 22, 2012 at 12:57 AM 2
Share

That's weird. Anything else we should know? I just tried it, and it's not happening for me.

avatar image darkmax · Mar 22, 2012 at 01:48 AM 0
Share

i'm using the latest version of unity 3.5 with monodevelop 2.8.2 on windows 7, but tried this on several script that i have with a project and it happens on every script. Also i start a new project and the same.

avatar image rutter · Mar 22, 2012 at 02:45 AM 0
Share

I can't duplicate that, either. At what point does this happen? Is it immediate, at application restart, system reboot?

avatar image darkmax · Mar 22, 2012 at 04:07 AM 0
Share

mm that is interesting i'm start to thinking that is something just with my installation, but this happens just when i write a comment next to a line with a string with underscore, let me check if i can upload a video showing the problem that i'm having.

avatar image darkmax · Mar 22, 2012 at 05:38 AM 1
Share

i upload the video

Show more comments

6 Replies

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

Answer by IndieForger · Jan 10, 2013 at 06:20 PM

I had the same issue, and as described on my blog there are 2 ways to fix it. You can either do it by changing the font size or syntax highlighting theme.

Comment
Add comment · 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
1

Answer by lobo · Apr 09, 2012 at 10:37 AM

change to another syntax highlighting scheme ( i changed to Brown) Tools>Options>Syntax Highlighting>Brown Then underscores appear, doesn't look to different from Default so will be OK until another unity upgrade.

Comment
Add comment · Show 1 · 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 FalconRime · May 05, 2012 at 12:24 PM 0
Share

This works for me as a temporary fix until 2.8.5 is incorporated into Unity. The upvote button is not working for me, sorry to have to post a comment ins$$anonymous$$d.

avatar image
1

Answer by insominx · Mar 05, 2013 at 06:52 PM

I had this problem with my custom syntax coloring and managed to fix it by making sure to uncheck "italics" for the thing it was being applied to.

Comment
Add comment · Show 1 · 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 Korenn · Oct 20, 2013 at 11:31 AM 0
Share

The above leads to the better solution: Create a new highlight scheme based on the Default one, call it something like 'Temporary scheme until Unity finally upgrades mono from being years behind the tech" ;) Then go over the entries and deselect italics for every place where it's on. This way you can keep the colors you've gotten used to.

avatar image
0

Answer by Hephaestus · Mar 24, 2012 at 12:52 AM

I'm seeing this too with a new install of Unity3.5. It's apparently a documented bug (fixed in the latest version of MonoDevelop)

Not sure what good that does us though, I'm not readily finding a way to manually update to the latest version of MonoDevelop so that it can still be used with Unity.

Comment
Add comment · 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
0

Answer by Hephaestus · Mar 24, 2012 at 12:52 AM

I'm seeing this too, and apparently it is a documented bug, fixed in the latest version of MonoDevelop.

Not sure if this knowledge does us any good, until there's a clean way to upgrade MonoDevelop while still maintaining usability with Unity.

Comment
Add comment · Show 1 · 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 You! · Mar 24, 2012 at 12:55 AM 0
Share

Double post. Please fix!

  • 1
  • 2
  • ›

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

11 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

Related Questions

Multiple Cars not working 1 Answer

Distribute terrain in zones 3 Answers

Making a bubble level (not a game but work tool) 1 Answer

Why can't I edit C# script although I have monodevelop installed? PLEASE HELP 1 Answer

Automatic caching in Mono? 0 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