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. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

[Solved] typescript type resolution/autocomplete new project

Discussion in 'Project Tiny' started by bfloyd, Mar 28, 2019.

  1. bfloyd

    bfloyd

    Joined:
    Dec 6, 2017
    Posts:
    9
    Is there any setup on VS Code I need todo to get type resolution of the project? Or just docs is the best approach?

    Thanks
     

    Attached Files:

  2. Zoelovezle

    Zoelovezle

    Joined:
    Aug 7, 2015
    Posts:
    54
    Quit your vs code and open the script from the unity.
     
  3. bfloyd

    bfloyd

    Joined:
    Dec 6, 2017
    Posts:
    9
    Yes that worked. Some context.

    It seems the type resolution/autocomplete only works for the "active" project. So looking at the other samples will show errors, but the active project should work.
     
    raymondyunity and Zoelovezle like this.