extension doesn't work properly for c# in vsc - c#

I've got a problem with C# in Visual Studio Code.
Support, debug and intellisense for c# is not working on new and old project
I search for this problem and found nothing, idk what I should do...
before i reinstalled my pc this was working

You need to install the C# extension for VS Code
from extensions store

Related

VS code intellisense C# installation

I need help installing IntelliSense for C# in VS Code. I tried googling but haven't found any good answer to my question. Is there a option or extension or something in VS code that i can use to install Intellisense for C# on it. I also cant't use Visual studio because I'm on Linux.
Thanks!
The C# extension should include everything you need to get started including IntelliSense: https://code.visualstudio.com/docs/languages/csharp
For Unity development, which uses Mono, you should also use the Mono extension as noted in the C# extension documentation: https://marketplace.visualstudio.com/items?itemName=ms-vscode.mono-debug

Extention works in debug and release mod but incorrect after install?

I used to my old extention for VS 2017 and for now I'm gonna use it in VS 2019. Extension builds and works properly in VS 2019 and after changing manifest file It would seem installed correctly but... it's not :(
Toolbar button handler doesn't react; like there're buttons only and nothing more(despite it works when you build it in VS2019)
As it turned out my extension is using synchronous autoload and VS 2019 doesn't allow it by default settings, so I found an answer here:
https://devblogs.microsoft.com/visualstudio/updates-to-synchronous-autoload-of-extensions-in-visual-studio-2019/
Maybe this stupid question helps anyone else but I spent much time looking for the answer

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.
Disabling the c# extension then re-enabling and restarting the vs code solves this issue for me
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
While I can see this is a minor problem and rather annoying - VSCode will do this. It's what makes it different to (IE) Visual Studio (Community / Enterprise).
Since I use both I had to look for a solution myself. I currently use the package 'All Autocomplete' by Atishay Jain (https://github.com/atishay/vscode-allautocomplete).
Good luck coding!
Quick edit:
It will still not give you back all options for a class if there's no instance of that class (OO).
I closed VSCode, removed the workspace file and when I re-opened the folder with vscode with it asked me if I wanted to use a particular project file or read all project files in the folder.
Either choice would probably be fine as you will have been so annoyed by this issue, you would not get up to creating a second project :)
I have installed BrackedPairColorizer and when I deleted this extension form VS Code it helps and editor start suggesting code after reload.
I had this issue, solution for me was downgrading the C# extension from v1.25.0 to v1.24.1
Other versions may also work but this was the first that I tried

Visual studio code c# intellisense not working as expected

Hello recently I started using only visual studio code for my .net core 2 project.
The problem I have found is the intellisense not working as i expect in vs code.
Always after using '.' to access avaible methods and properties no suggestions appear I have to push "ctrl+space" for them to appear.
And when I push "ctrl+space" it comes with suggestions that I can't use for anything.
Linq Example for none working intellisense
Same happens when I try to access the properties of a class.
Is it possible to get intellisense that work like in normal visual studio? I have installed C# extension for debugging and intellisense.
Proof of installed plugins

VST plugin and installing old VS extensions

I want to develop an VST plugin in C#. Looking around the internet there are not that many libraries in .NET that deal with VST plugins. The only thing I found is the VST.net library (https://vstnet.codeplex.com/). This thing hasn't been updated in a while.
The problem: I am having trouble setting it up the basic project. There are project templates for that project which are done for VS 2008/2010 which is .vsi file. I tried looking around for ways to open it in the latest VS (2017) but I was not successful.
Is there a way to open these in Visual Studio 2017 or should I have to install the older version of Visual Studio to make this work? Or if you have a suggestion for another library/extension that will help me with the development I would appreciate it.
Comments: I am aware that there is better support in C++ for this type of thing but my additional problem is that I have a project in C# that I would like to use and not be forced to rewrite the entire code base.
Thank you in advance for looking into this issue.

Categories