Simple plugin to replace non-ASCII characters to ASCII by removing accents, and remaining non-ASCII characters.
Turns:
á à â ä ñ
into
a a a a n
and removes characters like:
¡ ¿ ß
Launch VS Code Quick Open (Ctrl/Cmd+P), paste the following command, and press enter.
ext install remove-non-ascii-chars
- Bring up the command palette with CTRL+SHIFT+P (Windows, Linux) or CMD+SHIFT+P on Mac.
- Type
Remove Non ASCII Chars
until you see the commands. - Select
Remove non Ascii characters (File)
for removing in the entire file, orRemove non Ascii characters (Select)
for removing only in the selected text.
Complete rewrite from Python to Javascript of the original package for Sublime of the same name RemoveNonAsciiChars originally authored by Gabriel Perren - @Gabriel-p