Sourcegraph extensions have been deprecated with the September 2022 Sourcegraph release. Learn more.
The repo and the docs below are kept to support older Sourcegraph versions.
Create Sourcegraph campaigns that perform a find-replace on multiple files in multiple repositories.
Campaigns let you make code changes across many repositories and code hosts. Read more about campaigns in the Sourcegraph docs.
A find-replace campaign is a campaign that finds all matches of a given string and replaces them with a replacement string.
- Perform a search on Sourcegraph
- In the search results toolbar, click "Find-replace"
- Enter the string to find
- Enter the replacement string
- Once the process is complete, click the notification to open the newly created campaign.