I'm honestly surprised that this does not exist already. I have a codebase where blocks of code can appear verbatim in 50+ different places at various levels of indentation. This tool allows me to replace all of those copies by generating a regex that accounts for variations in whitespace.
ineedauniqueusername / spaceinvariantfindreplace Goto Github PK
View Code? Open in Web Editor NEWWhen you need to Find & Replace a code block in various levels of indentation