VS 2022 No quick actions

Something seems to be off with my VS suddenly. I can no longer use quick actions to do things like quickly define a function. It won’t underline and right click and choosing quick actions just says none available. I’ve deleted intermediate/binaries/vs config/.vs etc I’ve also reset the settings in my visual studio. None of that makes any difference. Any ideas what is causing this?