-
Notifications
You must be signed in to change notification settings - Fork 753
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show tooltips on hover for type property definitions and type additio…
…nal properties accesses (#13546) Resolves #13461 Resolves #13398 There were a couple of scenarios where the LS was not showing hover tooltips for properties: * When hovering over a type property definition * When hovering over a property name that would match against a value's additional properties type There's no way to capture a description for an object's additional properties type, but the hover can at least show the expected type.
- Loading branch information
Showing
4 changed files
with
210 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ public async Task ProviderNameAndVersionAreUsedAsCacheKeys() | |
var (clientFactory, _) = RegistryHelper.CreateMockRegistryClients(repositoryNames.Select(name => (registry, $"{repositoryPath}/{name}")).ToArray()); | ||
|
||
var services = new ServiceBuilder() | ||
.WithFeatureOverrides(new(ExtensibilityEnabled: true, ProviderRegistry: true, DynamicTypeLoadingEnabled: true)) | ||
.WithFeatureOverrides(new(TestContext, ExtensibilityEnabled: true, ProviderRegistry: true, DynamicTypeLoadingEnabled: true)) | ||
.WithContainerRegistryClientFactory(clientFactory); | ||
|
||
foreach (var repoName in repositoryNames) | ||
|
@@ -46,7 +46,7 @@ public async Task ProviderNameAndVersionAreUsedAsCacheKeys() | |
"main.bicep", | ||
@$" | ||
provider 'br:example.azurecr.io/test/provider/[email protected]' as foo | ||
module mod './mod.bicep' = {{ | ||
name: 'mod' | ||
params: {{ }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.