Open practicalli-johnny opened 5 years ago
Get search results via SPC / search string SPC p S search string (scopes inculde - p for project, d for directory, etc..)
SPC /
SPC p S
C-c C-e inside the helm buffer opens results into a new buffer, allowing you to make changes
C-c C-e
Hightlight the text you want to change in each result (is this already there)
Use SPC s e to use iedit to change the results as one change
SPC s e
C-c C-c to commit the changes.
C-c C-c
There is also projectile-replace SPC p R
SPC p R
Can the commit bindings be changed to something more spacemacs like?
https://practicalli.github.io/spacemacs/refactor/within-a-project.html
TODO: create a video of refactoring across a project
Get search results via
SPC /
search stringSPC p S
search string (scopes inculde - p for project, d for directory, etc..)C-c C-e
inside the helm buffer opens results into a new buffer, allowing you to make changesHightlight the text you want to change in each result (is this already there)
Use
SPC s e
to use iedit to change the results as one changeC-c C-c
to commit the changes.There is also projectile-replace
SPC p R
Can the commit bindings be changed to something more spacemacs like?