Skip to content

Refactor remaining extension host APIs

Warren Gifford requested to merge direct-extension-host into main

Created by: felixfbecker

Active WIP branch to refactor the remaining APIs like in RFC 155.

This is a collaborative branch with no expectations that it must compile or pass tests :)

Target is to finish & get this merged before EOW.

Done at the time of writing (not including the APIs Simon already converted):

  • Fix type safety of pretendRemote()
  • Editors
  • Text documents
  • Decorations
  • Extension activation (mostly, extension status is missing)
  • Removed completion providers completely (they've always been experimental, are not widely used and would cause more work)
  • Workspace roots

TODO, in no particular order:

  • Contributions
  • Windows (there's just one window...)
  • Notifications
  • Link previews
  • Rest of language providers (easy, since hovers are done already)
  • Views (code insights)
  • Version context: Remove service
  • Tests
  • Delete any dead code
  • Rename files/folders/interfaces/functions considering flat API is the only API then

Merge request reports

Loading