-
Notifications
You must be signed in to change notification settings - Fork 763
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
Support private module completions #16051
base: main
Are you sure you want to change the base?
Conversation
3e62127
to
01772fd
Compare
Test this change out locally with the following install scripts (Action run 13185943053) VSCode
Azure CLI
|
Dotnet Test Results 78 files - 39 78 suites - 39 35m 15s ⏱️ - 14m 5s Results for commit d809ec0. ± Comparison against base commit 93c5975. This pull request removes 1842 and adds 692 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
a447698
to
479ed50
Compare
af65f40
to
5ea8c28
Compare
bbaf353
to
8ae4324
Compare
d940471
to
704815e
Compare
d72f18b
to
657444f
Compare
657444f
to
fef0f0e
Compare
/// <summary> | ||
/// Provider to get metadata for modules stored in a public or private registry. | ||
/// </summary> | ||
public abstract class BaseModuleMetadataProvider( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of this code was simply moved from the old PublicModuleMetadataProvider, see below
@@ -39,33 +46,115 @@ private enum ModuleCompletionPriority | |||
FullPath = 2, // br:, ts: | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The old code was quite complex. I rewrote large portions of it, combining the public and private cases in most places, and also combining the handling of aliased vs fully-qualified by moving all the parsing code to a single private class. A lot of code simply went away.
fc990ba
to
df0fd29
Compare
Fixes #9038
Microsoft Reviewers: Open in CodeFlow