VS won't do syntax highlight on non monodevelop.

Hi, i’m writing a script that derives from EditorWindow instead of monodevelop and visual studio community won’t do syntax highlighting and intellisense won’t work.
Is that how it is since it is editorwindow, or should it still do syntax highlighting?

I’m guessing you mean Monobehaviour (the class), not Monodevelop (the IDE).

I’ve seen this happen a few times, and it’s generally solved by deleting the csproj and sln files that are auto-generated by Unity. There’s also a hidden .vs folder that can be deleted as well.

This forces Unity to rebuild the solution and usually that will fix Intellisense.

Try the solution I posted here Problem with Visual Studio occasionally not recognizing syntax or commonly used built-in functions

Yes. Sorry, I had a nice thumping headache yesterday…