Skip to main content
2 of 2
deleted 79 characters in body; edited tags; edited title
Jamal Mod
  • 34.9k
  • 2
  • 53
  • 106

How can I prepare my code so that I can paste it formatted?

If I paste C++ code with many functions/classes (braces), I have to indent all of them, including their content. I've replaced tabs with spaces in my editor, but still no improvements. What's the best solution?

Liviu
  • 131
  • 6