Search Unity

How to open my unity script custom package in vs studio as a project

Discussion in 'Editor & General Support' started by theguspassos, Jun 30, 2021.

  1. theguspassos

    theguspassos

    Joined:
    Aug 22, 2019
    Posts:
    1
    I followed the steps in the documentation on how to create a custom package and it worked, I'm currently using the local way with the folder outside my main project structure, but referenced as a package.

    The problem is: Since the package was not created as a .net project it doesn't open in vs code as one. This means that there's no intellisense and other features. I'm able to write a code like this, for example: upload_2021-6-29_20-54-43.png

    However the GameObject keyworkd is not being highlighted since it was openend as a file.

    How can I setup this environment? I've looked into other open source packages, but none of them seem to have a .csproj file for them.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,745