- I needed something to clean my HTML content when using in public/AI sources
- I initially tried Sublime Text's "macros" but they apparently can't do search/replace which is insane (imo)
- Finally got a Sublime Text "plugin" version working - it took bit of time to hash out because all online sources (including/especially AI) were wrong and gave back/non-functioning code.
- Sharing in case others find useful.
The command in the py file * * MUST * * be exactly camel case like this or it will silently fail and never show up in the cmd palette: If the file name is my_cool_plugin.py the PY class def should be like: MyCoolPluginCommand. So: