4 ms·
It will be quite nice if this ends up yielding results for individual JavaScript frameworks some day.
by rl3 13y ago
It will be quite nice if this ends up yielding results for individual JavaScript frameworks some day.
- alkonaut 13y agoIt probably will, but for TypeScript and similar variants where proper type context actually exists. Normal JS doesn't even support a reliable autocomplete, much less a compiler-as-a-service based one.
- rl3 13y agoThis feature is a code snippet search tool, so proper type context shouldn't matter. I could even see it being used to search for CSS framework usage examples.
- sqs 13y agoI'm one of the creators of Sourcegraph, which does have results for many JavaScript frameworks. You can find examples from all across GitHub, and you can search by function name or full-text documentation. JS is hard to analyze, but we're working hard on getting better--and the analysis code is open source[1]. https://sourcegraph.com/github.com/joyent/node https://sourcegraph.com/github.com/joyent/node https://sourcegraph.com/github.com/jashkenas/underscore https://sourcegraph.com/github.com/jashkenas/underscore https://sourcegraph.com/github.com/caolan/async https://sourcegraph.com/github.com/caolan/async [1] https://sourcegraph.com/github.com/sourcegraph/jsg https://sourcegraph.com/github.com/sourcegraph/jsg
- rl3 13y agoNice!
- seanmcdirmid 13y agoHave you looked into Dr. JS? http://www.ccs.neu.edu/home/dimvar/jstypes.html http://www.ccs.neu.edu/home/dimvar/jstypes.html