-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Support for Visual Basic? #1111
Comments
There are no plans, no. It is something that could be done, but there aren't a lot of requests for it. There is also an issue tracking this in the C# for VS Code repo (omnisharp-vscode): dotnet/vscode-csharp#25. However, there're are only a handful of votes. Yes, Roslyn supports VB.NET, so support could certainly be added to OmniSharp and it wouldn't require a rewrite. However, it would need a champion from the community to take the work on. |
I'm thinking of taking the dive and seeing if it's within my skillset now, or in the far far future. I'm somewhere between beginner and intermediate I think. I haven't had time to look at what would need to be done, but I guess my question is: |
You shouldn't need to worry about compilers/debuggers. With a few exceptions, OmniSharp communicates with Roslyn via public APIs. |
@Falthazar at a high level, basically you need to replicate all the services / handlers that omnisharp implements for C#, to use the VB Api's. An example is https://github.com/OmniSharp/omnisharp-roslyn/blob/master/src/OmniSharp.Roslyn.CSharp/Services/Navigation/FindUsagesService.cs and changing |
I took a look at OmniSharp and had a brief chat in Slack and it sounds like it's a bit of an undertaking. There's some info in the linked portion of the Slack for anyone interested. As an alternative I stumbled upon icsharpcode/CodeConverter and it's been doing a solid job of converting files so far so I figured I'd mention it for anyone else interested in giving it a shot. |
Is there any planned support for VB.net?
I'm still learning about programming and especially the .NET framework in general, but doesn't Roslyn already support VB.net? What would it take (skills and effort wise) to add basic Visual Basic support to Omnisharp?
As in, is it beginner with lots of time level? Or is it like a complete re-write of Omnisharp?
The text was updated successfully, but these errors were encountered: