feat: add ability to browse and search through VS Code#207
feat: add ability to browse and search through VS Code#207olafurpg wants to merge 3 commits intosourcegraph:masterfrom
Conversation
|
This is still a draft since I have a few more items that I want to clean up before getting a review. I decided to open the PR just to give a heads up that this is a large PR 😅 |
e56a994 to
273f80c
Compare
|
This is finally ready for review! I apologize for the mostly meaningless git commit log. I can try to clean it up a bit but I'm not sure how much easier that will be to review because most of the changes are new files. |
Previously, this extension only supported features that allowed the user to open Sourcegraph in the browser for further exploration. This commits adds several new features that allows the user to browse Sourcegraph while staying in the editor: - New Sourcegraph file system with tree view - New Sourcegraph notebooks to run search queries
f077fbb to
47e14f2
Compare
|
This looks really slick! I'm super happy you did this! |
|
I pushed a new commit adding testing infrastructure that I'm hoping will make it much more manageable to maintain and evolve the new code. The tests are written directly against the GraphQL API on sourcegraph.com but the responses are recorded by Polly so that subsequent test runs can work offline (and they're super fast since no RPCs take place). |
c396263 to
7d97ef9
Compare
Previously, this extension only supported features that allowed the user
to open Sourcegraph in the browser for further exploration. This commits
adds several new features that allows the user to browse Sourcegraph
while staying in the editor:
FileSystemProviderto display contents of text files and list directories from SourcegraphTreeDataProviderto browse file system contents in a tree viewTreeDataProviderto compare git revisions using VS Code's built in diff supportNotebookSerializerto interactively edit and run search queries in a notebook-like environmentDemo: https://www.loom.com/share/71dab72106ea45f8a5881e2e2382cebe