VSCode and intellisense for events
hey guys, I'm using VSCode for Unity programming on OSX. Everything works great, but one thing, which is really annoying. I can't make damn event listeners intellisense work. It won't generate function when I listen to event no matter what. Anybody ever faced anything like that?
11 Replies
Do you just want it to generate a method with the right signature?
$unitybug
If intellisense is not working for Rider / Visual Studio, follow these steps.
Close the editor and re-open it again by double-clicking a script file.
Have you done that?
Not yet, but I will try. All intellisense works perfectly, only method generation for event handler doesn’t
I don’t even have idea how to debug it. Maybe some clues on that one?
It's never worked for me with the += autocomplete like in VS. You can still name it and cmd+. to add the missing method with the right signature.
Yeah. Would be great to fix that 😀 shouldn’t be hard really
But I have hard times figuring out what to fix 😄 where this intellisense logic is?
Any clues folk?
I suggest using a "real" IDE
Such as Visual Studio or JetBrains Rider
Is there visual studio for Mac?
There is, yes
Not for long though
Since it's getting discontinued
So your best option is JetBrains Rider, and your free option is VS Code + DevKit extension
I think somewhere here:
https://github.com/dotnet/vscode-csharp
GitHub
GitHub - dotnet/vscode-csharp: Official C# support for Visual Studi...
Official C# support for Visual Studio Code. Contribute to dotnet/vscode-csharp development by creating an account on GitHub.