Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

I can't type ANYTHING in monodevelop after upgrade a project from unity 4.6.8f1 to 5.3.1f1

Discussion in 'Scripting' started by FelipeAllmeida, Jan 13, 2016.

  1. FelipeAllmeida

    FelipeAllmeida

    Joined:
    Jul 5, 2015
    Posts:
    3
    Well, I'm having this problem for some weeks. It started when i first upgraded a project from unity 4.6.8f1 to 5.3.1f1. When i created a NEW script (c# or javascript), i'm not able to edit it, but I can edit the other scripts .

    Im using mac os x. Never tested this on windows

    Someone know what's happening? Someone has the same issue?
     
    Last edited: Jan 13, 2016
  2. The-Little-Guy

    The-Little-Guy

    Joined:
    Aug 1, 2012
    Posts:
    297
    FelipeAllmeida likes this.
  3. FelipeAllmeida

    FelipeAllmeida

    Joined:
    Jul 5, 2015
    Posts:
    3
    The Little Guy txs for the reply, the problem is that visual code has no autocomplete in unity.
     
  4. The-Little-Guy

    The-Little-Guy

    Joined:
    Aug 1, 2012
    Posts:
    297
    Yes it does.
     
    FelipeAllmeida likes this.
  5. FelipeAllmeida

    FelipeAllmeida

    Joined:
    Jul 5, 2015
    Posts:
    3
    Thanks again for the reply.
    How i activate the autocomplete then? I searched a little in some forums and didn't found anything.
     
  6. The-Little-Guy

    The-Little-Guy

    Joined:
    Aug 1, 2012
    Posts:
    297
    Open up your folder (not the "Assets" folder but it's parent which will contain your ".sln" file) in vscode. In your project view in Unity right click and select "Open C# Project" VSCode should then pick it up, if not, in the bottom right it will either show the sln file or "Switch Projects" if it shows "Switch Projects" click on it and select the .sln on the top of the program.

    It it still doesn't show the name of your .sln, you will probably need to update mono:

    Code (csharp):
    1. sudo apt-get install mono-devel
    or

    http://www.mono-project.com/download/
     
    FelipeAllmeida likes this.