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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

VSCode refresh intellisense ?

Discussion in 'Editor & General Support' started by mistergreen2016, Apr 25, 2018.

  1. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    226
    Hey,
    I'm using VSCode for C# coding. I'm running into a weird problem.
    I create a class that inherits another class but it's erroring out

    The type or namespace name 'EnemyController' could not be found (are you missing a using directive or an assembly reference?) [Assembly-CSharp-firstpass]

    The error goes away when I quit and restart.



    *** sorry about that, this should be in 3rd party tools.
     
    Last edited: Apr 25, 2018
  2. The-Little-Guy

    The-Little-Guy

    Joined:
    Aug 1, 2012
    Posts:
    297
    You can restart Omnisharp in vscode instead of restarting the editor.

    I am still looking for a way to do this automatically when a new file is added/moved.