Skip to content

Cohosting semantic tokens follow up #10103

Closed
@davidwengier

Description

@davidwengier

This is not an exhaustive TODO list for cohosting in general, but rather the items of follow up that were not done in #10097

  • Refresh queue
  • FilePathService
  • OOP initialization
  • UsePreciseCSharpRanges
    • Needs to be implemented in OOP, and can be removed from the CSharpSemanticTokensProvider API, since it was only put there thinking LanguageServerFeatureOptions wouldn't be available, but it is
    • Remove unnecessary parameter #10120
  • Telemetry
  • Logging
  • Tests
    • Are they needed? The service that does the work is the same. To follow a more Roslyn style, we would have the ISemanticTokensService do the work to switch OOP if it can, and do the work in-proc if it can't. In OOP, it then calls back into the same ISemanticTokensService, but this time there is no OOP client, and some different service impls, so it does the work in-proc. Will all of that, there would be no actual testing of OOP, just the service.

The only other things that are "todo" are doing something about IDocumentContextFactory, but that currently throws an exception, so will be fixed whenever the first usage of it is needed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions