Trying to figure out the C # development environment on Linux. The first thing I found is VSCode. I decided to test it. C ++, JavaScript, HTML, CSS files open perfectly. C # files do not recognize at all. There is no highlighting at all, about autocompletion, etc. generally keep quiet. Tolley, I do not understand something, you should install a plugin or poke it somewhere. If anyone knows how to fix it, tell me!

2 answers 2

In general, I found the answer. Go to the VSCode. Click F1. Studio console will appear. Extensions. Such a window will appear. Select the first option, and then look for

C # for Visual Studio Code

Click on this item and wait until it is installed. Here you can install and debager from mono. Reboot the studio and everything works. enter image description here

    A year has passed, well, it does not matter.

    Maybe it was enough to change the "language mode"? (next to the smiley is the lower right corner, the name of the file type being defined by extension). When a problem file is open, it will show a list with what to associate.

    Settings are stored in a .vscode , in the current folder and in a user directory.

    If Windows , see SET USERPROFILE , on the command line.