I have 5 pages of code as a part of my question. How can show it? I would not be interested to post it as such. Also, it's code generated by a framework. Hence I don't want to edit it. Should I use pastebin or something similar?
What is meta?
- Any Stack Exchange user can ask a question
- The community provides support, votes on ideas, and reports bugs
- Your voice helps shape the way Stack Exchange operates
All necessary info of a question should be in the question itself. If the code segment is too big for a Stack Overflow question then the scope of your question is too big as well.
Reduce it to the very core so people don't have to review pages of code.
That takes effort. But we want questions be helpful to future visitors and that can only be possible if one can see the problem with a quick read.
In this case, you could describe the framework you used and the parameters you supplied to auto-generate the code. Then other people can reproduce the problem without you needing to post an un-holy amount of code in your question.
It's quite possible your problem has been caused by incorrect use of the framework, which would only be apparent once you explain how you used it.
(Just noticed Bart commented on this already)
Why you want to show 5 pages of code?