- 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 |
||
|---|---|---|
| .. | ||
| BackgroundParser.cs | ||
| DefaultCodeDocumentProvider.cs | ||
| DefaultTextBufferProjectService.cs | ||
| DefaultTextBufferProvider.cs | ||
| DefaultVisualStudioCodeDocumentProvider.cs | ||
| DefaultVisualStudioDocumentTracker.cs | ||
| DefaultVisualStudioDocumentTrackerFactory.cs | ||
| DocumentStructureChangedEventArgs.cs | ||
| RazorDirectiveCompletionProvider.cs | ||
| RazorSyntaxTreePartialParser.cs | ||
| RazorTextBufferProvider.cs | ||
| TextBufferProjectService.cs | ||
| VisualStudioCodeDocumentProvider.cs | ||
| VisualStudioDocumentTracker.cs | ||
| VisualStudioDocumentTrackerFactory.cs | ||
| VisualStudioRazorParser.cs | ||