godotengine / godot-csharp-visualstudio

Godot C# extension for Visual Studio
MIT License
251 stars 31 forks source link

Make GodotCompletionProviders work via NuGet #18

Open neikeq opened 3 years ago

neikeq commented 3 years ago

It's possible to use completion providers by referencing the NuGet package as an analyzer.

Not all editors support this. From my experience:

We don't really care about both VS IDEs as we can still provide it via extensions there. VSCode is the main motivation as this would replace our current basic completion provider which uses regex and doesn't have access to semantic info.

This is blocked by dotnet/roslyn#46803. We need that method because for something like GetNode("Te we want the result to be GetNode("TextEdit", but without our GetChangeAsync it's GetNode("Te"TextEdit".

genlu commented 2 years ago

I saw a link to this issue in Roslyn repo and followed it here. Just wanted to let you know that the bug for nuget based provider is fixed. Please give it a try and let us know if it works as you expected. Thanks

OmnesPotens commented 5 hours ago

Any update on this given that the listed blocker is resolved?