godotengine/godot-csharp-visualstudio

Make GodotCompletionProviders work via NuGet

neikeq opened this issue · 3 comments

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

Not all editors support this. From my experience:

  • VSCode: Working.
  • VS IDE: Didn't check.
  • VS IDE for Mac: Not working.
  • Rider: Not working.

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

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