简体   繁体   中英

Omnisharp not showing custom namespaces

I am trying to reference a custom namespace (a non-NET namespace) for the Unity editor. However, the syntax highlighting is different from .NET namespaces and the classes inside the Unity namespace aren't shown in the intellisense. Oddly enough, a namespace which Omnisharp doesn't recognize also doesn't throw an error.

Any help is appreciated:>

If you:

  1. Close Visual Studio
  2. Go to Edit < Preferences < External Tools in unity
  3. In External Tools uncheck all the boxes under 'Generate.csproj files for:'
  4. Press regenerate project files

Should help reset your intellisense

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM