Rust Rover is out of preview and is free for non-commercial use. The only caveat is:
It’s also important to note that if you’re using a non-commercial license, you cannot opt out of the collection of anonymous usage statistics.
Rust Rover is out of preview and is free for non-commercial use. The only caveat is:
It’s also important to note that if you’re using a non-commercial license, you cannot opt out of the collection of anonymous usage statistics.
What are you talking about?
What part are you struggling with?
The ripgrep (
rg
) part, or thecargo expand
part?I know what both of those are and how to use them. But they are entirely relevant to the thread. Did you comment in the wrong place?
Not sure how what I write is this confusing to you.
test
.test
is not necessarily all tests.cargo expand
gives you options for correctly and coherently expanding Rust code, and doesn’t expand tests by default.rg
was half a joke since it’s Rust’s grep. You can just pipecargo expand [OPTIONS] [ITEM]
output tovim '+set ft=rust' -
orbat --filename t.rs
and search from there.deleted by creator
My post was a showcase of why there is no substitute for knowing your tools properly, and how when you know them properly, you will never have to wait for 5 minutes, let alone 5 years, for anything, because you never used or needed to use an IDE anyway.
This applies universally. No minimum smartness or specialness scores required.
deleted by creator
Ok cool but how does that help when I’m searching a non-Rust project via the GitHub web search interface? I don’t know why I’d want to search
cargo expand
output anyway. Using that just to avoid searching tests is a super ugly hack.Fair.
But you are writing a comment under a topic regarding a Rust-flavored IDE, posted to a Rust community. With neither the IDE nor Rust involved, your quoted problem statement is 100% off-topic.