I am creating a game with Unity and I code with VS Code, however, there are no snippets. I remember there are snippets in visual studio (on windows, I am currently using mac). Is there something to install? Or some settings to change.
Since no one post anything, I figured it out myself.
Go to your project’s folder. Find the Assembly C sharp.csproj and your [project-name].sln files, throw them out, restar t your project, go to preferences → external tools → select Visual Studio Code → check create csproj files, and u r ready to use some intellisense.
There are several threads discussing VS Code issues. I like it and use it, but when auto complete (usually) has stopped working, solution hasn’t ever been the same for me… not happening currently, but seems like it has happened with some past versions.
for me disabling Omnisharp: use modern net in vscode setting worked. Also it takes like a minute on my pc for it to actually start wroking - i.e. for a minute or so the autocompletion doesnt work but then it’s fine
I had a similar issue after installing some new ‘Extensions’ in VS Code.
Before dig into further, I checked the Edit/Preferences/External Tools where we choose the External Script Editor.
For some reason unknown, it was changed to ‘code.cmd(internal)’ so, I changed back to Visual Studio Code[1.81.1].
And that was all I needed to back on business with VS Code.