Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 maskedMan · May 25, 2011 at 02:08 AM · c#monodevelopautocompleteintellisense

Monodevelop not showing autocomplete / intellisense in Mac OS 10.6.7

UPDATE Oct 28 2011

So, I have updated Unity to the newest minor version and this problem has returned. The CodeCompletionData folder listed below, while correctly referencing all the UnityEngine and UnityEditor classes for intellisense / autocomplete, I am once again missing all the basic "System" files from native C#.

EG:

 using System.Collections;
 using System.Collections.Generic;

 // .....

 private List<Foo> someFoo; // List will not autocomplete and no data is available

 // .....

 Sys // <- Unity MonoDevelop autocompletes this as "SystemInfo" or "SystemLanguage" but just plain "System" is not available.


And again, if I delete all my old MonoDevelop-Unity preferences (and indeed, reinstall Unity from scratch) and allow them to autopopulate I lose all my intellisense including the UnityEngine and UnityEditor classes.

I suppose I could yet again grab the latest files from my coleague if he's already successfully updated his Unity install, but that's no way to solve this issue and is not sustainable.

ORIGINAL QUESTION

Has anyone encountered any problems with the autocomplete feature of the MonoDevelop install that comes with Unity 3.3 on Mac 10.6.7? For reference, it's a version of MonoDevelop 2.4.2.

The autocomplete / intellisense won't actually show any code hints at all except for local variables/methods and static variables/methods that are in the current Class's definition.

By comparison, the "real" version of MonoDevelop has perfectly working autocomplete, but it's not usable by Unity in any real way, so I'm stuck with the broken Unity version.

How can I solve this problem? Working intellisense is very important to me.

EDIT:

After trying kdubb's solution below, I've found that:

  1. MonoDevelop will incorrectly re-generate the pidb files if they don't exist.

  2. MonoDevelop will incorrectly re-generate the entire MonoDevelop-Unity folder if it doesn't exist.

  3. Replacing the MonoDevelop-Unity .pidb files with the ones found in MonoDevelop will give me all the Unity-specific class definitions, but it will NOT give me any definitions from System or its subpackages.

  4. Replacing the entire MonoDevelop-Unity directory with the MonoDevelop directory breaks Unity's MonoDevelop. It fails to open.

Comment
Add comment · Show 1
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 Tonic_Taz · Jan 09, 2017 at 08:07 AM 0
Share

I still cant this to work. its a fresh install of unity 5.0. im a total beginner so dont really know where to look. makes it even harder without suggestions. does it not work with javascript?

7 Replies

· Add your reply
  • Sort: 
avatar image
5

Answer by Bartwillemsen · Apr 28, 2016 at 09:41 AM

I had the same problem but I was able to fix it quiet easily.

First, right click on the "Assembly-CShap" folder in MonoDevelop and select options. Than, in the "Build - General" tab, make sure that target framework is set to a version you have actually installed. For me, it defaulted to a very old version of Mono, which obviously didn't work!

alt text


screenshot-from-2016-04-28-11-31-00.png (97.4 kB)
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 tkamruzzaman · May 05, 2016 at 09:11 AM 0
Share

thank you for this easy solve :)

avatar image
2

Answer by kdubb · May 25, 2011 at 03:29 AM

Shutdown MonoDevelop and delete all of the ".pidb" files in every folder of every project in your affected solution(s). Then delete all the ".pidb" files in the CodeCompletionCache (1). This should get things working again.

(1) CodeCompletionCache location: Mac it is at "~/.config/MonoDevelop-Unity/CodeCompletionData", Windows it is at "AppData\MonoDevelop-Unity\CodeCompletionData".

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 maskedMan · May 25, 2011 at 04:44 PM 0
Share

This did not work.

avatar image maskedMan · May 25, 2011 at 05:12 PM 0
Share

However this did make me think of something else to try that partially worked. I copied all of the CodeCompletionData from the "normal" $$anonymous$$onoDevelop install and replaced the Unity CodeCompletionData with it. This gave me all the UnityEngine (and other Unity-related) autocomplete prompts, but I am still missing all the "normal" C# prompts (eg: it doesn't know about System, System.Collections, List<>, etc). I'm going to try grabbing some definitions from other people to see if they have a set that works for me.

avatar image maskedMan · May 25, 2011 at 09:08 PM 0
Share

After grabbing definitions from a co-worker and pasting those into ~/.config/$$anonymous$$onoDevelop-Unity/CodeCompletionData I now appear to have autocomplete for both Unity and C# script at last! +1 for leading me down the right path even if the answer appears to be "it's a bug in the Unity monodevelop"

avatar image kdubb · May 25, 2011 at 11:19 PM 0
Share

Thanks for the +1. Although it seems weird that you cannot get your $$anonymous$$D-U to build those symbols automagically. Here's another idea... have you recently changed the location of your Unity install? I believe that the solution have hardcoded references to the .Net and Unity assemblies and maybe your $$anonymous$$D is pointing to the wrong place now?

avatar image maskedMan · May 25, 2011 at 11:25 PM 0
Share

No, both Unity and $$anonymous$$D-U are in their default locations. Additionally, I did not choose an alternative location during the install process.

Show more comments
avatar image
1

Answer by haim96 · Dec 10, 2013 at 07:10 AM

you missing "using UnityEngine;" at the beginning of the script.

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
-2

Answer by defsine · Nov 13, 2013 at 02:56 AM

Im having the the same problem also

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 LuisGuimaraes · Dec 10, 2013 at 07:03 AM

Move MonoDevelop.app one folder up so it's in the same folder as Unity.app. At least on unity 4.3.1 that's it.

Comment
Add comment · Show 2 · 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 dfreniche · Jan 05, 2014 at 11:51 AM 0
Share

This worked like a charm, but it's better not to copy the whole $$anonymous$$onoDevelop.app folder. I've just made a link:

  1. Open up Ter$$anonymous$$al

  2. cd /Applications/Unity

  3. ln -sf $$anonymous$$onoDevelop.localized/$$anonymous$$onoDevelop.app/ $$anonymous$$onoDevelop.app

That will create a symbolic link to the $$anonymous$$onoDevelop.app folder :-D

avatar image bust76 · Apr 24, 2014 at 06:14 AM 0
Share

It works for me. Also the @dfreniche suggestion is very good - I'm using that approach. It fixes all problem about solution and symbols. I am on a $$anonymous$$AC $$anonymous$$ini i5 - 16 GB - OSX 10.9.2 - Unity 4.3.4f1.

  • 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

17 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

Related Questions

New Scripts have no autocomplete.. 1 Answer

Namespace visible in Assembly Browser, but can't autocomplete in MonoDevelop? 1 Answer

Multiple Cars not working 1 Answer

Distribute terrain in zones 3 Answers

Unity3d and monodevelop c# scripting on ubuntu 16.04 IntelliSense problems 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