Repository-wide find and replace
Moderator: SourceGear
Repository-wide find and replace
When we make changes to our code libraries, it would be very useful to be able to do a repository-wide find and replace to migrate client code rather than having to open up each individual solution in Visual Studio and do it there. We're still using Vault 4.1, and to my knowledge this feature doesn't exist. Does it exist in 5, or is it a future feature? Thanks.
Vault 5.0, Visual Studio 2010, Enhanced Client
Re: Repository-wide find and replace
It's still a future feature, but we've had a lot of requests, so we're looking at a way to implement this. The challenge is that we store source code as Blobs, not text, so we currently can't do a text search within the database.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Repository-wide find and replace
I understand that pulling the blobs into memory a chunk at a time and searching the text there isn't the most performant thing in the world, but nothing is slower than a human being opening up 15 different solutions and doing the same thing.lbauer wrote:The challenge is that we store source code as Blobs, not text, so we currently can't do a text search within the database.
In other words, if this operation takes a lot of computer time and consumes a gig of memory on my server during the operation, I won't hold it against you. It's worth it.
Vault 5.0, Visual Studio 2010, Enhanced Client
Re: Repository-wide find and replace
Thanks for your feedback. I've added your comments to feature request 5252, which is the "find in files" request.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager