Intellisense for Visual Studio Code is not working on (C#) (Mac)

PeteLM 30 Reputation points
2024-04-05T11:06:06.5533333+00:00

Hi,

I am a complete beginner and have been making my way through the 'Foundational C# with Microsoft" course and have run into an issue at this section:

https://learn.microsoft.com/en-gb/training/modules/csharp-call-methods/4-return-values-input-parameters

This unit mentions Intellisense and I am not having class or method suggestions or anything like that pop up as i am typing code into VS Code. The closest i get when i write something like 'Console' is below:D624D4EB-1D2D-4A0E-BD63-157A965C4330 It seems as if a lot more options should come up? Am i missing something entirely?

I have a Macbook pro (Ventura 13.4.1), am using Visual Studio Code version 1.88.0 and have the following extensions installed:

  • .Net Install Tool (v2.0.3)
  • C# (v2.23.15)
  • C# Dev Kit (v1.4.29)
  • Intellicode for C# Dev Kit (v0.1.26)
  • Unity (v1.0.1)

I have tried installing older versions of all of the above extensions but am still unable to get Intellisense to work. Really enjoying the course so far so I would love to get this fixed so i can keep progressing!

Cheers

Developer technologies Visual Studio Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. PeteLM 30 Reputation points
    2024-04-06T07:06:40.5833333+00:00

    For anyone reading this that has this same problem.

    I solved it for me by going to settings and searching for "Dotnet: Prefer CSharp Extension", checking the box and reloading the window.

    Not sure how this impacts other areas of VS Code but it is working for me in the mean time.

    6 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.