Skip to content

Where are the docs for writing source analyzers outside VS (for cross-platform CLI)? #31802

Open
@ziaulhasanhamim

Description

@ziaulhasanhamim

I'm not a typical Visual Studio User(because I'm not a full-time windows user). I need to write an analyzer. But all the docs explain how to write analyzers with VS. There is no documentation on how to get started building an analyzer on CLI. How to set up the project? It's really frustrating. Most languages' documentation first explains how to do things on CLI without extra tooling. The IDE documentation is totally separated. These things still give the feeling that .Net is not fully cross-platform.
Yes, it's cross-platform, but all the documentation is about VS, which is a windows-only product. So you need to use VS on windows to get the full gist of .NET.
The docs really should be only about the .NET and doing things on every platform. Yes VS is a good product. But there are many people who like to use CLI or other IDEs. I think C# really went in the wrong direction if you compare it to other languages. In most languages, everything is CLI first. But in C# everything is VS first.
I had gone a little off-topic. But all documentation regarding Roslyn should be written as they could be followed on any platform.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions