Sublime Forum

Specify a theme color for Phone numbers, IP addressess, URLs

#1

I looked for a way to automatically identify phone numbers, IP addresses, and URLs (and automatically use a different theme color for it); but, didn’t find anything like that. I’d be surprised if I was the first person to look for such an addon. Maybe someone knows of an addon that does this?

If there’s no addon package that does this, I would really appreciate it if someone was kind enough to post a dummy-proof example of how how to make my own custom text changer addon. I think I can manage to plugin the respective regular expressions needed to identify the strings; if everything else is in place.

Thanks in advance for your help!

0 Likes

#2

Is this a relatively complicated thing to do (or to explain)? Im hoping someone here has at least seen a similar question posted somewhere with instructions on how to do this. I have no idea where to even start. Hopefully, someone could spare a few minutes of their time to help out. I’d really appreciate it.

0 Likes