Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code Intellisense not showing suggestions in C#

Intellisense in VS Code only shows the previously used keywords and identifiers(in the current program) and not suggesting the new ones.The autocomplete only suggests the previously used keywords and identifiers.

like image 270
Chirag Sharma Avatar asked Jun 21 '18 06:06

Chirag Sharma


2 Answers

Disabling the c# extension then re-enabling and restarting the vs code solves this issue for me

like image 155
Muhammad Maaz Avatar answered Sep 17 '22 13:09

Muhammad Maaz


This will help you buddy.

C# language support is an optional install from the Marketplace. You can install it from within VS Code by searching for 'C#' in the Extensions view (Ctrl+Shift+X) or if you already have a project with C# files, VS Code will prompt you to install the extension as soon as you open a C# file.

Visual Studio Code uses the power of Roslyn and OmniSharp to offer an enhanced C# experience. So to summarize, you will need two things to do dotnet development using C#.

Install .NET Core.
Install the C# extension from the VS Code Marketplace.

Refer: https://code.visualstudio.com/docs/other/dotnet

Refer: https://code.visualstudio.com/Docs/languages/csharp

like image 35
Abhay Shiro Avatar answered Sep 20 '22 13:09

Abhay Shiro