I want to create a Visual Studio extension. This extension, when it is launched by the user, will basically format / indent C # code in a certain way. for instance
private void Method(int a, int b) { }
will be converted to something like
private void Method ( int a, int b ) { }
At this point, I have no experience or idea about the API that I can use for this kind of task. I would like to know if there are any APIs that MS provides for parsing C # code in a .cs file or any third-party APIs? or any common APIs that can help me achieve this kind of thing.
source share