How can I make U+200B character or delete them in using sublime text 3. I found http://pastebin.com/ehWxNfMe but I am not sure how to use it
The easiest way to delete zero width spaces in Sublime Text is using the search and replace functionality:
Ctrl + h
( Alt + Cmd + f
for Mac )Alt + r
( Alt + Cmd + r
for Mac )\x{200b}
as the search termI searched for a plugin that would highlight all the possibly code breaking characters but couldn't find one for Sublime Text so I wrote one: https://github.com/TuureKaunisto/highlight-dodgy-chars
The plugin works on a whitelist principle: all non-ascii characters that are not whitelisted in the settings get highlighted.
If you want to highlight things based on your own regular expression, this plugin will do the trick: https://github.com/bluegray/Highlighter and is also easily installable via Package Manager.