JetBrains: Open Sourcegraph files in the browser
Created by: vdavid
Fixes https://github.com/sourcegraph/sourcegraph/issues/38002
Also:
- removed a bunch of code smells like missing null safety.
- added repo URL to file path (which was made possible by the new
SourcegraphVirtualFile
class. This is not really part of the issue and might be controversial, so I'm happy to remove this if it's too out of the path of this PR :)
I've left some comments in the diff to explain my changes, to avoid the reviewer having to go commit by commit.
Test plan
- I think I've tested all possible cases: 3-min Loom
App preview:
Check out the client app preview documentation to learn more.