martinjw / SmartPaster2013

SmartPaster for VS 2013, VS2015 and VS2017
MIT License
18 stars 12 forks source link

Feature request - Paste as escaped string #4

Closed felixhao28 closed 7 years ago

felixhao28 commented 7 years ago

Hi, when I am dealing with paths in Windows, I want the backslashes to be escaped. For example: C:\path\file.ext will become "C:\\path\\file.ext" when "Paste As... -> Escaped String". I know I can use @String in C# to avoid it but there is no such feature in C++.

martinjw commented 7 years ago

The "Paste As Literal String" option escapes all the backslashes

felixhao28 commented 7 years ago

vs17pasteas

martinjw commented 7 years ago

Fix coming

felixhao28 commented 7 years ago

Ok, so it's bug. That makes sense. FYI, I am using VS 2017 preview on Win 10.

martinjw commented 7 years ago

Release https://github.com/martinjw/SmartPaster2013/releases/tag/1.4.1 I will publish Saturday if nothing comes up in testing