node.js – How can I create a Visual Studio extension to extract syntax from C# code?
I’m trying to create a Visual Studio extension that can extract the syntax tree of a C# code file using Node.js. Specifically, I want to be able to extract the syntax tree of the currently opened project if it contains C# code files in the current Visual Studio Code instance.
I’ve done some research and found that the Roslyn API can help me do this, but I’m not sure how to use it in a Visual Studio extension with Node.js. Can someone explain how I can use the Roslyn API to extract the syntax tree of C# code files in a Visual Studio extension using Node.js or if there are some other alternatives?
Thanks in advance!
I have searched online for any tools or scripts that can read C#.
Read more here: Source link
