- Added APIs to retrieve an `ITextBuffer` from a `Document` and to retrieve a `RazorCodeDocument` from an `ITextBuffer`. - The `RazorCodeDocument` from `ITextBuffer` API supports both the new and old Razor parsers so we can transition seamlessly between the two. - Added logic in the `RazorDirectiveCompletionProvider` to consume descriptions from `DirectiveDescriptor`s. This is then surfaced via tooltips. - Retrieved currently active `RazorCodeDocument` given a Roslyn buffer and harvested all directives to display in the completion list. - Added unit tests to validate each new services functionality. #291 |
||
|---|---|---|
| .. | ||
| Microsoft.AspNetCore.Mvc.Razor.Extensions.Test | ||
| Microsoft.AspNetCore.Mvc.Razor.Extensions.Version1_X.Test | ||
| Microsoft.AspNetCore.Razor.Language.Test | ||
| Microsoft.AspNetCore.Razor.Performance | ||
| Microsoft.AspNetCore.Razor.Runtime.Test | ||
| Microsoft.AspNetCore.Razor.Test.Common | ||
| Microsoft.AspNetCore.Razor.Test.MvcShim | ||
| Microsoft.AspNetCore.Razor.Test.MvcShim.Version1_X | ||
| Microsoft.CodeAnalysis.Razor.Test | ||
| Microsoft.CodeAnalysis.Razor.Workspaces.Test | ||
| Microsoft.VisualStudio.LanguageServices.Razor.Test | ||
| RazorPageGenerator.Test | ||