Skip to content

Grepping all the Rust code #841

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
behnam opened this issue Jun 30, 2017 · 3 comments
Closed

Grepping all the Rust code #841

behnam opened this issue Jun 30, 2017 · 3 comments

Comments

@behnam
Copy link
Contributor

behnam commented Jun 30, 2017

GitHub already allows searching in the code, but it's not always easy to grep in all the Rust code: If the search term is generic and matches projects in other languages better, "Rust" won't be listed in the sidebar and you'll have to edit the URL manually to get what you need.

Example: https://github.com/search?utf8=%E2%9C%93&q=hello&type=Code

I think somewhere there should be an easy-to-use grep UI for the Rust projects. Does crates.io have anything planned? If not, maybe we can have a UI to make it easier to search in GitHub for now? What do you think?

@locks
Copy link
Contributor

locks commented Jun 30, 2017

Fo reference: http://codeallday.com/blog/how-ember-observer-searches-addon-source-code/

@carols10cents
Copy link
Member

Crates.io isn't planning on providing a way to view source code, so there won't be a way to search through all crates' code. Perhaps docs.rs would be interested in this? https://docs.rs/ https://github.com/onur/docs.rs

Thank you for the suggestion though!

@Piping
Copy link

Piping commented Feb 20, 2020

any tools that is similar to cscope that can search rust code well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants