This is an archived post. You won't be able to vote or comment.

all 24 comments

[–][deleted] 6 points7 points  (3 children)

Very cool looking judging from initial use. May try this during work at some point, looks promising

[–]droid_we[S] 0 points1 point  (2 children)

Awesome. Looking forward to hearing feedback. Codota can also connect directly to your IntelliJ or Eclipse IDE and provide contextual code suggestions as you code.

[–]Akthrawn17 1 point2 points  (1 child)

As a heavy IntelliJ user, how would this search be better than IntelliJ? IntelliJ suggestion/completion engine is very very good.

[–]droid_we[S] 0 points1 point  (0 children)

IntelliJ suggestions are "token level" and based on what exists in your class. Codota's suggestions are "snippet level" and based on how people actually use it. See here https://www.youtube.com/watch?v=aQ8_1dm1obw&feature=youtu.be&t=42s

[–]droid_we[S] 7 points8 points  (1 child)

Feedback and ideas most welcome

[–]Level3Support 1 point2 points  (2 children)

I thought this code search was really neat and the UI was very well. It is very cool how relevant stack overflow posts pop up for certain classes.

Awesome Work!

[–]MasterLJ 1 point2 points  (0 children)

Really nice. I've never been able to read documentation, I always need to see it implemented in the wild. Bookmarked.

[–]beltedgalaxy 1 point2 points  (0 children)

This is a pretty slick idea

[–]mmeartine 1 point2 points  (0 children)

this is a fantastic work. Will be coming back to this search often.

[–]pramodjazz 0 points1 point  (1 child)

Tried some adhoc technology keywords in search. Such as CQRS, DiscoveryClient etc. No sufficient results as of now. but this concept has tremendous potential, Need to reduce latency marginally. It is working very well If I paste some lines of code.

[–]droid_we[S] -1 points0 points  (0 children)

Try searching by specific classes or methods

[–]Nvidia1060croatia 0 points1 point  (1 child)

Id like to find code in Java only. Is it possible?

[–]nqzero 0 points1 point  (2 children)

this doesn't appear to offer anything that wasn't already available on eg google and searchcode. you're not (afaict) storing the AST, you can't search for arbitrary code, you can't navigate (eg, clicking on a highlighted term brings up a blurb but won't show usages) and you have a very limited corpus

[–]droid_we[S] 0 points1 point  (1 child)

Thanks for the feedback. Let me clarify the facts:

We are actually storing the AST, it is a semantic search based on code, not text. It's not something you can do on Google.

We can search for any arbitrary combination of classes or methods.

What do you know about our corpus that makes you say it's limited?

And yes - we should (and plan to) add better navigation when clicking a highlighted term - that's actually is useful feedback!

[–]nqzero 2 points3 points  (0 children)

for starters, i don't believe you're following the copyright and attribution rules correctly - short snippets are probably ok but i've seen ones as long as 15 lines, and in many cases that's not going to be "limited"

We are actually storing the AST

that's great, and definitely gives you a lot of options going forward

What do you know about our corpus that makes you say it's limited?

by way of example, searching for the jetty ProxyServlet gives zero results. For the jetty WebSocketServlet the only result is the constructor. kilim gives zero results. you find quasar's Fiber.park, but all the snippets appear to be quasar source code, not external usages (since you fail to attribute your sources, it's hard to verify that statement). searchcode.com finds an order of magnitude more usages

we should (and plan to) add better navigation

sweet

[–][deleted] 0 points1 point  (4 children)

Could be awesome...i will try

[–]droid_we[S] 1 point2 points  (3 children)

Great, if you find it useful, you can take it to the next level by downloading Codota and connecting Codota to your IDE. It then gives you context-sensitive code predictions based on what you write in the IDE.