Skip to main content
Post Made Community Wiki by JamalMod
deleted 79 characters in body; edited tags; edited title
Source Link
Jamal Mod
  • 34.9k
  • 2
  • 53
  • 106

How can I prepare my code so that I can paste it formatted (as in the source)?

I didn't find a fast solution and neither an answer here (the FAQ is the "faq" tag?). If I paste C++ code with many functions/classes (braces), I have to indent all of them, including their content. II've replaced tabs with spaces in my editor, but still no improvements. What's the best solution  ?

How can I prepare my code so that I can paste it formatted (as in the source)?

I didn't find a fast solution and neither an answer here (the FAQ is the "faq" tag?). If I paste C++ code with many functions/classes (braces) I have to indent all of them, including their content. I replaced tabs with spaces in my editor, still no improvements. What's the best solution  ?

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?

Source Link
Liviu
  • 131
  • 6

How can I prepare my code so that I can paste it formatted (as in the source)?

I didn't find a fast solution and neither an answer here (the FAQ is the "faq" tag?). If I paste C++ code with many functions/classes (braces) I have to indent all of them, including their content. I replaced tabs with spaces in my editor, still no improvements. What's the best solution ?