Sublime Forum

String replace using a dictionary

#1

This is quite fresh idea :wink:.
We have Ctrl+H for single file and Ctrl+Shift+F for multiple files with sourceString->targetString (two input areas) search&replace.
What about search&replace option based on dictionary (single input area, screenshot shows the idea).
What do you think?

Here is ready Py recipe for this action:

code.activestate.com/recipes/813 … e-replace/
(in comments there are some performance tweaks)

EDIT:
Processed line can be highlighted :wink:.

0 Likes