No code actions

My VS Code wont let me use code actions. Using Ctrl + . gives a message saying “No code actions available”. This problem only seems to be present in Unity 2022. I have several projects in various other versions where it works. The Visual Studio Code Editor package seems to be updated (version 1.2.5). Any suggestions to what I might have done wrong?

You’ve done nothing wrong. Vs Code has, as of late, been something of a moving target when it comes to Unity integration. You might check out some of the suggestions in this thread. Syntax highlighting/ Code suggestion not working

Privacy & Terms