Escape String - Visual Studio Code extension
Pasting strings into source code file can be challenging because special characters must be escaped.
This Escape String VSCode extension helps you with that by adding
It will paste content of clipboard as a string, in format specific for given file/programming language, with special characters escaped.
For C++ strings are escaped using raw string literal. If original string contains default end-sequence ") then we'll try one of pre-defined delimiters. If the string contains all pre-defined end-sequences, we will use the original string. Example: