godot-csharp-visualstudio icon indicating copy to clipboard operation
godot-csharp-visualstudio copied to clipboard

Make GodotCompletionProviders work via NuGet

Open neikeq opened this issue 4 years ago • 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".

neikeq avatar May 30 '21 22:05 neikeq

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

genlu avatar Jul 21 '22 23:07 genlu