Live data from Hacker News

Sourcegraph now running on an in-browser VS Code

sourcegraph.com

71–80 of 84 posts

Re: Sourcegraph now running on an in-browser VS Code

#71
post #9

Can someone put this in some context for me? It's an IDE as a service, or what?

Sourcegraph CEO here. It is for reading code. It gives you the full power of an editor (jump-to-def, hovers, find references, advanced search, symbol search, cross-repo references, etc.) for any repo at any commit on GitHub. It supports Go and Java right now, with some more languages in beta. If you find yourself reading code on GitHub a lot, or cloning repos to open and read in your editor, you'll find it useful. If…

Amazon will surely buy you once your product matures. I can see that happening.

Re: Sourcegraph now running on an in-browser VS Code

#72
post #3

Sourcegraph CEO here. Thanks for posting! Our new VS Code-based UI makes Sourcegraph a better way for you to read a codebase on the web with the full power and intelligence of an editor, without the hassle of cloning or configuration. It provides jump-to-def, hovers, find references, advanced search, symbol search, cross-repo references, etc., for any repo and any commit on GitHub (in Go, Java, and some other languag…

Is it possible to install extensions (or perhaps support a couple of common ones)? For example, using vim keybindings is very important to my workflow.

Re: Sourcegraph now running on an in-browser VS Code

#73
post #72
post #3

Sourcegraph CEO here. Thanks for posting! Our new VS Code-based UI makes Sourcegraph a better way for you to read a codebase on the web with the full power and intelligence of an editor, without the hassle of cloning or configuration. It provides jump-to-def, hovers, find references, advanced search, symbol search, cross-repo references, etc., for any repo and any commit on GitHub (in Go, Java, and some other languag…

Is it possible to install extensions (or perhaps support a couple of common ones)? For example, using vim keybindings is very important to my workflow.

Sourcegraph Director of Product here: We currently don't support installing extensions in our UI, but it's something we're definitely interested in. I'd love to hear more about other use cases you know you'd personally like to use?

You can however set up your own keybindings by editing the keyboard shortcut settings. Open the Quick Open (on a Mac, Command+Shift+P or F1 on a PC), and type "Open Keyboard Shortcuts". From here you can configure any mappings you'd like.

Re: Sourcegraph now running on an in-browser VS Code

#74

I have to say I'm really impressed by what you guys have achieved here. I've been working for a while on different solutions to bring Visual Studio Code to more devices, among them Chromebooks (for which an in-browser editor would be ideal) - I'd be interested in seeing the writeup on this for sure. What you have currently is quite similar to Azure's App Service Editor: http://developingdane.com/content/images/2016/1…

Sourcegraph Director of Product here: We're interested in extensions as a way for our users to extend our platform, you never know how creative developers are until they can hack your product! Do you have ideas in mind for extensions you'd like to build/use?

In relation to the terminal, do you have anything in mind you'd like to use it for?

Re: Sourcegraph now running on an in-browser VS Code

#75
post #8
post #6

Earlier quoted context omitted.

opening a file takes too long, likely due to minimap. I'd disable expensive eye-candies by default.

Sorry about that. We do need to improve the UI perf. Can you try it with the minimap off and let me know if it's faster? There is a "secret" way to disable the minimap: (1) hit Cmd-Shift-P or F1, (2) go to "Preferences: Open User Settings", (3) search for the "editor.minimap.enabled" setting, (4) hover over it and press the pencil and select "false". Then go back to the file and it should not display anymore in your…

Mission accomplished. Much faster without minimap enabled. :-)

Re: Sourcegraph now running on an in-browser VS Code

#76
post #3

Sourcegraph CEO here. Thanks for posting! Our new VS Code-based UI makes Sourcegraph a better way for you to read a codebase on the web with the full power and intelligence of an editor, without the hassle of cloning or configuration. It provides jump-to-def, hovers, find references, advanced search, symbol search, cross-repo references, etc., for any repo and any commit on GitHub (in Go, Java, and some other languag…

Is it possible to have something similar to this (http://youtubeonrepeat.com/youtube-repeat-button/) for Souregraph. I use Safari and there is no extension that allows me to instance view github repo in source graph.

Is it possible to use something to make this work?

Re: Sourcegraph now running on an in-browser VS Code

#77
post #54
post #20

Earlier quoted context omitted.

Sourcegraph CEO here. We don't support Ruby yet, unfortunately. It officially works for Go and Java, and we have alpha/beta support for a couple more languages enabled too (TypeScript and JavaScript). As you can imagine, Ruby code intelligence (type inference, etc.) is super tough, and there are maybe 5-10 people in the world who could build it right now. We'd love to find and sponsor a Ruby expert to add Ruby suppor…

> As you can imagine, Ruby code intelligence (type inference, etc.) is super tough, and there are maybe 5-10 people in the world who could build it right now. Is Yin Wang in the list?

Do you know what happened to RubySonar?

I remember reading something about it, but now only search engines retain traces of it.

Re: Sourcegraph now running on an in-browser VS Code

#78
post #3

Sourcegraph CEO here. Thanks for posting! Our new VS Code-based UI makes Sourcegraph a better way for you to read a codebase on the web with the full power and intelligence of an editor, without the hassle of cloning or configuration. It provides jump-to-def, hovers, find references, advanced search, symbol search, cross-repo references, etc., for any repo and any commit on GitHub (in Go, Java, and some other languag…

Is it possible to have something similar to this ( http://youtubeonrepeat.com/youtube-repeat-button/ ) for Souregraph. I use Safari and there is no extension that allows me to instance view github repo in source graph. Is it possible to use something to make this work?

Yep, I just uploaded it as a Gist. We'll put this up on the site soon as well.

https://gist.github.com/sqs/2a2680eff4dad159ae754756fe9326c2

Re: Sourcegraph now running on an in-browser VS Code

#79
post #69

Great work! Any plans to get keyboard-shortcuts (or something similar) working? I use them heavily in vscode.

Sourcegraph CEO here. There are a ton of keyboard shortcuts, and they (mostly) match VS Code's default ones. To see them all, hit Shift+Cmd+P (or Shift+Ctrl+P), and go to 'Preferences: Open Keyboard Shortcuts'.

Here are some of the key (no pun intended) ones:

Opt+S: Open QuickOpen (omni-search: searches files, workspace symbols, and repos) - Cmd-P and F1 also work

Opt+R: Go to repository

Opt+X: Run command (e.g., 'Open User Settings')

Opt+D: Go to symbol in workspace

Shift+Opt+D: Go to symbol in file

Re: Sourcegraph now running on an in-browser VS Code

#80
post #77
post #54

Earlier quoted context omitted.

> As you can imagine, Ruby code intelligence (type inference, etc.) is super tough, and there are maybe 5-10 people in the world who could build it right now. Is Yin Wang in the list?

Do you know what happened to RubySonar? I remember reading something about it, but now only search engines retain traces of it.

Here is his post about why he closed source the PySornar and RubySonar: http://www.yinwang.org/blog-cn/2017/04/18/close-source
Post reply on HN