Hi guys,
I have a question for the community, is there a way to look up all the references to a word in the project and edit them in one shot? Let’s say I change the name of a class, is there a way to reflect this change to all the references of this class? So that I don’t have to manually look in every file of the project and change the name or using find in file.
By the way using find in files I don’t find exactly every occurance…
Maybe there is some plugin but I couldn’t find it. I have this feature in php storm but it would be nice also in sublime
Thanks a lot,
Andrea
Look for all the references to a word inside the project
andrenzo
#1
0 Likes
deathaxe
#2
Something like that is not supported by a text editor (out of the box). Refactoring might be a feature of some comprehensive IDE but a text editor doesn’t know about the grammar of the source code.
What you are looking for might be found by googling sublime refactor php
. There are some packages targeting refactoring, but I never used one of them. So not sure, whether they might be something for you.
0 Likes