Skip to content

Instantly share code, notes, and snippets.

@mgroves
Last active August 29, 2015 14:00
Show Gist options
  • Select an option

  • Save mgroves/11006170 to your computer and use it in GitHub Desktop.

Select an option

Save mgroves/11006170 to your computer and use it in GitHub Desktop.
var sb = new System.Text.StringBuilder(468);
sb.AppendLine(@"One of my favorite VS extensions is SmartPaster. Often when I'm pasting something into Visual Studio, I'm pasting it into C# source code. It could be a long directory name, a JSON string, or some sort of template that's going into a StringBuilder. Doing this with plain copy/paste can be tedious.");
sb.AppendLine(@"");
sb.AppendLine(@"Instead, just install SmartPaster. You'll get a new right-click menu option: ""Paste As"", which lets you paste text as a literal string, a comment, or as a StringBuilder.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment