Extract all strings in a project from Rider
Hi.
I want to create a file (txt, csv...) of all the hard-coded string data within my project and extract it.
For example, let's say a particular .cs file is coded like this
var value1 = "test1";
var value2 = "test2";
I want to extract something like "test1, test2".
Even if you have a different form, the "..." Is there any way to extract all the data inside the "..."?
Please sign in to leave a comment.
Hi,
Follow my steps here:
1. Press
Ctrl + F
in Editor to use Find tool.2. Use the Regex find function here, input pattern \".*\" like below
3. Then select all occurrences.
4. Paste into a text file.