0. Why This Blog Post Exists
Recently, I started exploring AnduinOS: https://www.anduinos.com/.
As a .NET developer, setting up a comfortable development environment is a challenge I had to face right after getting started. Since AnduinOS is a Linux distribution, we have to say goodbye to Visual Studio. Although JetBrains Rider is an excellent choice, it lacks a free community edition, which feels a bit extravagant for a broke developer like me.
Of course, if you absolutely cannot let go of Visual Studio, you could even take a shortcut, such as installing a Windows virtual machine. But that defeats the original purpose of AnduinOS. Don’t worry, VSCode is still at our disposal.
Although there are other editors on the market, such as NeoVim and Sublime Text, I am not very familiar with them, so today I will focus on VSCode. My plan is to use some extensions to make the C# development experience in VSCode closer to the Visual Studio standard.
In other words, this article is not only applicable to AnduinOS but also to any operating system where VSCode can be used.
I do not frequently use VSCode for .NET development. The following content is purely my "experience-based opinion" after brief usage. If you have better suggestions, feel free to leave a comment; if you disagree, you can just consider me rambling.
The AnduinOS documentation already provides detailed instructions on how to install the .NET SDK, VSCode, and other operations, as well as many settings that can improve your life. It even teaches you how to install WeChat. Please refer to the documentation for details. This article will not cover the steps for installing the SDK and VSCode.
First, please look at plugins 1, 2, and 4 in the screenshot below:

1. C# Plugins
The second plugin in the image above, C#, is one of the essential plugins. It provides basic language support for C#.
After installation, it’s worth browsing through the plugin’s settings to see if there are any options that are disabled by default but worth enabling—it’s like unlocking a hidden level.
Additionally, I prefer to add the following entries to the settings.json file to make VSCode even more powerful:
"dotnet.server.useOmnisharp": true,
"omnisharp.enableDecompilationSupport": true,
"omnisharp.enableEditorConfigSupport": true,
"omnisharp.enableImportCompletion": true,
"omnisharp.enableRoslynAnalyzers": true
Sometimes I hear developers complain that VSCode lacks sufficient features for .NET development. If you have similar concerns, feel free to try my setup—it might bring some unexpected improvements to your development experience.
2. Powerful C# Dev Kit
- The first plugin in the image above: C# Dev Kit. It provides VSCode with Visual Studio-like capabilities, such as creating solutions, creating projects, building, running, code completion, debugging, and testing. You could say this plugin is extremely comprehensive, bundling almost every feature you might need.
- The fourth plugin, IntelliCode for C# Dev Kit, is an intelligent code suggestion tool whose name speaks for itself. It is the perfect companion to C# Dev Kit.
Over the past two years, Microsoft has developed this plugin, allowing VSCode users to enjoy its benefits, but what is the catch?
Their licensing policy is similar to that of Visual Studio: it is free for personal, academic, and open-source projects. Teams of up to 5 people can also use it free of charge for commercial purposes. However, for teams of 6 or more, congratulations—you will need a subscription to Visual Studio Professional (or a higher tier).
Additionally, using this plugin requires signing in with a Microsoft account for authorization. As you can see, I haven’t installed it at all, just to avoid accidentally crossing any licensing red lines.
3. Roslynator
This plugin is mutually exclusive with C# Dev Kit. You need to set C# Dev Kit to Disable to use it.
It is based on Roslyn analyzers and code fixers, providing 500+ analyzers to offer features such as code formatting, code optimization, and code refactoring.
JetBrains Rider provides 2500+ analyzers, so you can think of it as a free, simplified version of Rider's code optimization and refactoring capabilities.
If you enabled "omnisharp.enableRoslynAnalyzers": true in the previous settings, you might find that Roslynator's features overlap somewhat. However, I did feel a sense of déjà vu when using it. If you have ever been taught how to write code by Rider, you will surely understand the kind of "surprise" I am talking about, and Roslynator may also bring you similar insights.
4. C# XML Documentation Comments
This plugin helps you quickly generate XML documentation comments, offering an experience similar to that in Rider. Simply type /// to generate an XML documentation comment, for example:
/// <summary>
///
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
5. C# Namespace Autocompletion
In VSCode, every time you create a new empty C# file, you need to manually add the namespace. This plugin provides automatic namespace completion for you.
6. Github Copilot
GitHub Copilot is a powerful code suggestion tool that costs $10 per month or $100 per year. While it can help you write code quickly, its subscription price might make you hesitate.
Even if you haven't used the tool, you have likely heard of its reputation. When it was first released, it caused a sensation, leaving many programmers feeling a sense of fear about being replaced by AI. Later, its collaboration with ChatGPT stirred up another wave of attention, but recently, it seems to have lost some of its shine to the emerging tool, Cursor. As a self-proclaimed lazy person, I have only used Cursor once and have never taken the time to explore it deeply, so I am not in a position to offer a definitive opinion. I can only say that Copilot is a great product, but if you are comparing it with Cursor to decide which subscription is a better value, I recommend consulting engineers who use both regularly.
Summary
The above list includes some extensions I use when developing .NET applications with VSCode. I have not listed other commonly used extensions that are unrelated to .NET, such as Markdown All in One.
I hope this article helps make your .NET development experience on AnduinOS more enjoyable. If you have any better suggestions, please feel free to leave a comment.
也可以直接安装 Jetbrains Rider