I want to save paper when I print my LaTeX file. That's why I want to hide all my code, inserted wtih lstinputlisting{}
I already know how to exclude tables and images or math but the lstinputlisting{}
is a problem.
Hope someone can help me
\usepackage{comment}
\excludecomment{figure}
\let\endfigure\relax
\excludecomment{table}
\let\endtable\relax
\excludecomment{align*}
\let\endalign\relax
\excludecomment{lstlisting}
\let\endlstlisting\relax
edit: added lstlisting