C source print utility

J

jfathman

Hello,

I recall seeing in years past utilities that format C source for
printing such that vertical lines are automatically printed along the
left margin to visually emphasize the C scopes in the source code.

I have been searching Google for an hour and can't come up with one.
The closest I get is PrettyCode, which appears to do what I want, but
for VB, not C.

Can anyone recommend such a utility?

Please note that I am not looking for something like astyle to
rearrange whitespace (we already use astyle for that). I just want a
utility that will draw lines to make it easier to read and maintain
several thousand lines of code implemented in lengthy, deeply nested
functions.

Thanks.

Jim
 
S

slebetman

Hello,

I recall seeing in years past utilities that format C source for
printing such that vertical lines are automatically printed along the
left margin to visually emphasize the C scopes in the source code.

I have been searching Google for an hour and can't come up with one.
The closest I get is PrettyCode, which appears to do what I want, but
for VB, not C.

Can anyone recommend such a utility?

Please note that I am not looking for something like astyle to
rearrange whitespace (we already use astyle for that). I just want a
utility that will draw lines to make it easier to read and maintain
several thousand lines of code implemented in lengthy, deeply nested
functions.

Thanks.

Jim

I've always used SciTe to do it:

www.scintilla.org/SciTE.html

It's really a code editor with folding capability. The pretty printing
is really just a side effect. But configuring the app means editing
config files, no nice GUI. Then again, that's a small price to pay for
all the nice features it has. And I prefer config files anyway, you
can't search a GUI.

The main distribution doesn't come with an installer. It's simply a zip
archive. If you're on Windows I'd recommend the installer distribution
by Bruce Dodson.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,171
Messages
2,570,935
Members
47,472
Latest member
KarissaBor

Latest Threads

Top