Visual Studio Code IntelliSense suggestions don't pop up automatically

后端 未结 5 1231
一生所求
一生所求 2020-12-10 10:12

I followed the install instructions in https://code.visualstudio.com, but when I write C# code, the IntelliSense suggestions don\'t pop up automatically, so I must trigger i

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-10 11:14

    In my case the problem was that I had 2 versions installed. I was launching from the command prompt and it kept running the older version. In Programs and Features, I removed the one that didn't have "(user)" at the end of the application name, and when I opened Code again, it started downloading packages, one of which was OmniSharp, and then IntelliSense started working.

    Note that I was also getting the following warning when opening the older version, and searching for the warning led me to instructions on removing the other version, which in turn fixed the IntelliSense problem:

    You are running the system-wide installation of Code, while having the user-wide distribution installed as well. Make sure you're running the Code version you expect.

提交回复
热议问题