- Home /
No autocompletion in Monodevelop
The title says it all, I tried looking into the issue, but none of the proposed solutions helped (installing a newer version or deleting the monodevelop cache). It completely ignores the Unity classes on my newly created project.
I don't know what to do, maybe it has something to do with the default add-ins? I don't understand how and why it would fail to generate autocompletion data.
Am I missing an important step to make it possible?
Are you using the version of monodevelop that ships with unity or have you replaced it? What language are you using? If you replace the monodev version that ships with unity and then try and use JS you might be SoL.
$$anonymous$$ake sure you don't have any unfinished lines or missing parenthesis or curly brackets.
I'm using C#.
@darthbator I used the default unity version. I tried replacing it but xamarin 4 didn't autocomplete either.
@dandando I'm used to autocompletion from Visual Studio. If I open the SLN with VS 2010 express, the intellisense DOES work. But then I can't open files from within unity with it, which kinds of defeat its purpose.
Things are getting even weirder... with xamarin 4 I can open the sln solution and have fine autocompletion too.
But, if I try to open a file from within the unity editor, I get a strange error telling me the component "$$anonymous$$onoDevelop.Xamarin.Ide,4.0" could not load, and then it opens the file... without autocompletion. Wut.
I changed the default code editor in Unity to VS, which allowed me to get rid of $$anonymous$$onodevelop altogether. There's a setting somewhere that lets you define your IDE, and selecting VS from there should make the code files open and save in VS in the same way they do in $$anonymous$$onodevelop.
Answer by TonyTough · Feb 18, 2016 at 08:45 AM
Using Windows 10, Unity 5.3.2f1 I also have (had) the auto complete problem and it can be VERY frustrating to not have it and to not be able to fix it. See below for what worked in my particular case, but first, Here's what worked for others, but didn't work for me.
1) the Sync option may have worked for older version, but version 5+ doesn't have it.
2) I tried the option : Unity / Edit / Preferences / External Tools / and changed the Monodevelop (built in) to instead Monodevelop (via Browse and going to c:/program files/unity/mondevelop/bin/monodevelop.exe (this seemed to work for many people, but not me). I also checked off the option "add .unityproj's to .sln" since that also worked for people, but again, not for me
3) I tried deleting .sln and .prj files out of the projects directory like someone suggested to no avail.
What did work : Installing .NET over
In Windows, Go to Control Panel / Programs and Features / (then on the left side) Turn window features on and off / and selecting both .NET 3.5 as well as .NET 4.6.
Why I did this.... I happened to hit the RUN button for my script in MonoDevlep and it gave me an error message that .NET 3.5 was not installed (even though I had .NET 4.6 installed) and even though UNITY was able to compile it after exiting MonoDevelop. MonoDevelop Should be able to compile your scripts so if you get an error, it may be the same situation I had and also be tied to the AUTOCOMPLETE not working.
You should also REBOOT after installing .NET just to be sure.
I even installed IIS as I wanted to install it anyway, but I doubt that did anything. HOPE THIS HELPS!
Thank you! #2 solved my problem. I am running Unity version 2018.1 (64bit) on Windows 10
Ok so option 2 worked for me and also fixed some other issues, such as the code not being coloured properly and such. Thanks man :)
Answer by joanfictio · Sep 29, 2014 at 09:30 AM
I have the same problem and I solved in Unity menu "Assets > Sync Monodevelop Project"
More info here: http://answers.unity3d.com/questions/416662/mono-develop-lost-autocompletion-and-refactoring.html
That fixed my autocomplete thanks for your help may have been posted a long time ago but i had the same issue haha cheers!
I'm on unity 5. do you know what happened to the "Sync $$anonymous$$lnodevelop Project"?
Answer by pareinjeanphilippe · Feb 20, 2016 at 06:29 AM
Bonjour , ma solution car toutes les autres n'ont pas fonctionnées. Je copie le dossier de monodevelop d'unity 5.2 vers ma version 5.3.2f1. Ensuite l'autocompletion javascript fonctionne. Ci dessous un lien vers le zip de mono 4.0.1.
Hello , my solution because all the others have not run . I copy the unity 5.2 monodevelop folder to my 5.3.2f1 release. Then javascript autocompletion works . Below is a link to the zip of mono 4.0.1 .
Answer by neoskull · Apr 10, 2017 at 04:03 PM
I fixed with this (using Unity 5.6.0f3):
Go in Project > Edit References in MonoDevelop and in the ".Net Assembly" tab just select every library (or, in case, just what you need).
Answer by nitinkumar · Apr 13, 2017 at 06:32 AM
This will also work in case you still looking for answers. http://answers.unity3d.com/questions/208710/autocomplete-not-working-properly-in-monodevelop.html
Your answer
Follow this Question
Related Questions
Namespace visible in Assembly Browser, but can't autocomplete in MonoDevelop? 1 Answer
Monodevelop not showing autocomplete / intellisense in Mac OS 10.6.7 8 Answers
Monodevelop Autocomplete/Intellisense and UnityScript. 3 Answers
Monodevelop does not Autocomplete my defined UnityScript C 0 Answers
Monodevelop autocomplete help! 2 Answers