I installed unity and Visual Studio on my computer to start working on games again, however when editing code it does not autocomplete properly and it does not recognize Unity exclusive stuff.
Screenshots:
I have tried:
.csproj
files for everything, and regenerated project files.sln
(no errors popped up)Autosuggestion is based on the namespaces your file references. InputAction is part of Unity.InputSystem namespace
Add to the namespaces declaration
using Unity.InputSystem;
Also if you type class name completely, quick actions in VS might suggest you add declaration automatically