Something went wrong on our end. Please try again.
Created by: felixfbecker
Extends our new view API to support registering views on directories. Adds a new editorviewer called DirectoryViewer
. The DirectoryViewer and Workspace are passed to the view provider.
PR that uses this API in Codecov: https://github.com/codecov/sourcegraph-codecov/pull/51
Implementation notes:
DirectoryViewer
, not DirectoryEditor
, because a directory editor doesn't make sense. I didn't do a full rename of our internal editor service etc to a "viewer service" (so internally the DirectoryViewer
is still an editor), because that can be easily changed later, while changing the public union type tag is a breaking.