The problem is that I got to maintain one site that is disgustingly written. There are about 40-50 files where the same menu is repeated. It is necessary to remove a couple of points and change the links. What tell me? Are there any special utilities in any PhpStorm? Or some third-party

  • one
    Ctrl + Shift + R - etki
  • it is easier to remove these identical pieces and replace with include at least. - zb '
  • A very long time. I probably downplayed the number of pages. - Not even close
  • @Not even close, you can regularly hook out the whole menu and replace it with the same inclusive. - etki
  • Unfortunately, I don’t have the necessary knowledge about regulars - Not even close

2 answers 2

Ctrl + Shift + R - Replacement For a given path, at least for the entire project.

    Well, or find and replace. Although in the file, at least for the whole project)) Ctrl + H , Ctrl + F is sometimes found

    • This works only within a single file. With shifty, on a given path. - Adobe
    • In ST2 there is a menu item "find and replace in a project" and the project is a tree of files and folders in the specified directory - Vladislav Moshikov