
Feature Request: saved searches / find & replace settings
I have a request for the find & replace panels. Many times I'll use a set of strings and regular expressions to clean, add some code to classes or convert data. Here are a few examples:
Code:
Make event listeners weak.
button.addEventListener(MouseEvent.CLICK, handleButton); -> button.addEventListener(MouseEvent.CLICK, handleButton, false, 0, true);
Find what: addEventListener\(([a-zA-Z0-9._\-]+, [a-zA-Z]+)\);
Replace with: addEventListener($1, false, 0, true);
Options: Match Case, Regular Expressions
Code:
Convert 2 column Excel tab delineated data to XML.
header The Title -> <header><![CDATA[The Title]]></header>
Find what: ([^\s]*)\t([^\r]*)
Replace with: <$1><![CDATA[$2]]></$1>
Options: Match Case, Regular Expressions
I have a few more of these that I use a lot. It would be awesome if I could save these settings and load them up when I needed them. Thanks guys!