Search Unity

Bug Visual Studio doesn't color some pieces of code?

Discussion in 'Code Editors & IDEs' started by Kechrimpari, Sep 6, 2023.

  1. Kechrimpari

    Kechrimpari

    Joined:
    Apr 5, 2022
    Posts:
    54
    So I recently moved to a new computer, and after re-installing unity hub and visual studios, I noticed that it doesn't properly color some pieces of code.
    upload_2023-9-5_18-22-24.png
    As you can see, it colors some things, but it should be coloring Gameobject and Transform green.
    On my old computer it did, at least. It also doesn't have the option to correctly finish the words if I type them out and press enter. Looking through the options, it's not there.
    upload_2023-9-5_18-24-12.png
    Is there any way I can fix this?
     
  2. Kechrimpari

    Kechrimpari

    Joined:
    Apr 5, 2022
    Posts:
    54
    Welp my bad I just didn't update the packages inside of the editor so it's all good now