Live data from Hacker News

Sourcegraph: Search code, jump around source, see real usage examples

sourcegraph.com

31–40 of 43 posts

Re: Sourcegraph: Search code, jump around source, see real usage examples

#31
post #26

Earlier quoted context omitted.

Any plans on Clojure support?

Same deal...we would love to add it but none of us use Clojure. Anyone who's interested in helping us add it (on a contract basis) should email me at sqs at sourcegraph.com. Or follow the issue at https://github.com/sourcegraph/sourcegraph.com/issues/154 .

I'd love to see C# support. I suspect you could achieve this via Rosyln [0], but I don't think I'd be able to accomplish this myself. I'd be happy to chat about it, though.

[0]: http://msdn.microsoft.com/en-us/vstudio/roslyn.aspx

Re: Sourcegraph: Search code, jump around source, see real usage examples

#33
post #24

Earlier quoted context omitted.

None of us at Sourcegraph write Haskell, but if you know of anybody who would be interested in helping us add it (on a contract basis), please let me know! sqs at sourcegraph.com

Any plans on Clojure support?

CrossClj does something very similar.

http://crossclj.info/

Re: Sourcegraph: Search code, jump around source, see real usage examples

#35
This is very cool, it is very close to a product I would spend money for. The product I would spend money for is an e-reader for code. I would copy a 'blob' to my tablet (ipad preferred by Android is ok too) which has all of the code in my example (could be small like an application, could be large like the entire 3.13 kernel source) There would be an ever present search bar or hot-gesture that would let me search for function, definition, callers, or callees. Think cscope on steroids for the language of my choice. Browsing around the source code would bring up source in syntax colored glory (either dark motif or light). It would use high resolution fonts on my retina display for crisp clear text. The typography would be optimized for reading code. It would remember my walks through the code, it would be able to recreate them on request, it would have a swipe-able interface to get to a notes pad "behind" the code where I could at notes about what does what. I would have the ability to fold entire functions, clauses, or loops, and unfold them as needed. It could bring up doxygen comments, when I gave a long press on a function name, it could jump between call graph and code mode. In short I could read code of arbitrary complexity while I rode the train home from work, or sat on the tarmac at JFK. I would pay $100 for an App that could do that for me.

Re: Sourcegraph: Search code, jump around source, see real usage examples

#36
post #22

Love the idea! I tried it by searching for Node's require. It did point me to the right source [1], but the usage examples are all minified and unreadable. Might want to check for a maximum size on the usage examples that are presented. [1] https://sourcegraph.com/github.com/joyent/node/.CommonJSPack...

Ahh, thanks for pointing that out. I just filed that at https://github.com/sourcegraph/sourcegraph.com/issues/151 and we will fix it soon.

I fixed this issue, but it'll take a while to propagate as Sourcegraph rebuilds all libraries that contain minified JS files. Thanks for reporting it.

Re: Sourcegraph: Search code, jump around source, see real usage examples

#37
post #16
post #15

One of the co-founders of Sourcegraph came to UC Berkeley and spoke at entrepreneurship event. He was very engaged and gave lots of real practical advice. I've tried Sourcegraph and think it solves a real pain point but I have had problems integrating it into my workflow. I'm not sure when I should be using it. I've been meaning to use it to read more open source code code but it seems like they recently disabled sup…

We've got all of the documentation (and source code) for all versions of Ruby, and all versions of all Ruby gems over at Omniref: http://www.omniref.com Some examples: https://www.omniref.com/ruby/2.1.2/symbols/Enumerable/sort_b... https://www.omniref.com/ruby/gems/sass/3.3.8 https://www.omniref.com/ruby/2.1.2/symbols/MiniTest https://www.omniref.com/ruby/gems/activerecord/4.1.1/symbols... You can even build custom s…

I'm doing it almost the same way!

http://rubycodesearch.com/

Re: Sourcegraph: Search code, jump around source, see real usage examples

#40

This is very cool, it is very close to a product I would spend money for. The product I would spend money for is an e-reader for code. I would copy a 'blob' to my tablet (ipad preferred by Android is ok too) which has all of the code in my example (could be small like an application, could be large like the entire 3.13 kernel source) There would be an ever present search bar or hot-gesture that would let me search fo…

As I write this the parent comment is sitting at 0 points (downvoted by 1). Given that everyone here is looking for the "next big thing" and given that I expressed a potential market for a product which doesn't exist, I would think people might say "impractical" or "too limited a market" But I don't get the person with enough karma to down vote, doing so without a comment. I would love to know what they were thinking.
Post reply on HN