HTML special character converterVSCode extension for quick replacements of special characters into ascii codes. Useful if you are working with localizable strings that contain special characters and you wish to replace them with their corresponding HTML entities. DemoFeaturesThis extension adds a command to Visual Studio Code to replace special characters into html entities. The command will appear in your Command Palette as
Note that it does not include replacing of From version 2.0 the extension supports adding your own replacements, and even overriding existing ones. To do this, you can edit the settings.json file and add an
object with property name of
This would also allow you to "disable" some replacements if this is necessary for your use case. To do this, you can simply add a replacement where the value being replaced is the same as the original. It's easier to explain with code. For example, to disable replacing
ThanksMany thanks to @developerG27, @cadukich, @pszxzsd, and @vgdsouza and @enriquein for their contributions. |