madskristensen/PackageInstaller

Intellisense not working for NuGet

Closed this issue · 1 comments

Installed product versions

  • Visual Studio: 2015 Professional
  • This extension: 2.0.99

Description

I am not seeing any Intellisense or auto completion when typing in the name of a NuGet package. I don't use the other package managers, so I don't know if Intellisense is working there.

Steps to recreate

  1. Open dialog
  2. Start typing the name of a package

Current behavior

Nothing -- typing proceeds as usual.

Expected behavior

Should see Intellisense/auto completion for matching packages as I type.

https://github.com/madskristensen/PackageInstaller/blob/master/src/Providers/NuGet.cs#L46 is using https://api-v3search-0.nuget.org/autocomplete as the search URL. But according to https://api.nuget.org/v3/index.json the correct URL is https://api-v2v3search-0.nuget.org/autocomplete

I can confirm that this URL does work for autocomplete searches. I'll submit a PR with the change.