Replace String in all files in Eclipse

前端 未结 10 1410
情歌与酒
情歌与酒 2020-12-02 05:37

Do you know how can I search an replace a String in all files of my current project?

Lets say I have this string \"/sites/default/ now I want it to be \"/public/si

10条回答
  •  死守一世寂寞
    2020-12-02 06:22

    Strange but it is a two step task:

    1. Search what you want
    2. In the search tab right click and select replace , or replace all:

    A demo at:

    http://www.avajava.com/tutorials/lessons/how-do-i-do-a-find-and-replace-in-multiple-files-in-eclipse.html

提交回复
热议问题