Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    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.