I have a number of files:
- main.tex
- chapter1.tex
- chapter2.tex
- chapter3.tex
- chapter4.tex
The chapter files are linked in main.tex with the \input command.
In main.tex I define a named listing called sampletext that is also used throughout the chapters. I would like to rename this to examplecode in the main.tex and all the chapter files. How can I do this? I am using TexStudio 2.1.1.0 on Windows.
Best Answer
You can replace in multiple files in TeXstudio using the extended search:
[+]
button in the search panel.Note: You can also deselect individual occurences using the checkboxes if you want to replace only a subset of all occurences.