VS Code AutoComplete for Input Controls

Hey,

I see VS code is giving you auto complete for the whole Touchscreen line. How were you able to set this up? (Unity Code snippets seems to be working fine for me as I can generate common unity commands such as start and update so I am guessing touchscreen is not part of the unity code snippets)

1 Like

After many hours of debugging I found the issue being Omnisharp was not running. (This is the little flame icon on the status bar at the bottom).

To get it to work I had to regenerate the csproj files and then from VS Code and NOT Unity open up the entire project folder. After this I was given the option to ‘select project’ from VS code and I selected the project.sln file.

Omnisharp + intellisense will not work on individual files and needs to load up a project. It seems this is not default behavior when launching a C# file from unity

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms