- 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 |
||
|---|---|---|
| .. | ||
| DefaultCodeDocumentProviderTest.cs | ||
| DefaultTextBufferProviderTest.cs | ||
| DefaultVisualStudioCodeDocumentProviderTest.cs | ||
| DefaultVisualStudioDocumentTrackerFactoryTest.cs | ||
| RazorDirectiveCompletionProviderTest.cs | ||
| RazorSyntaxTreePartialParserTest.cs | ||
| VisualStudioRazorParserTest.cs | ||