Maybe someone else has stumbled on this, either as a plugin to an editor or as a stand-alone tool :-) I do a fair bit of code auditing, and while trying to make sense of other people's mess I take notes. So far I've done this in vi (my editor of choice), but this means I always have to document where the code I'm commenting is (location, filename, line number, function name, etc). It'd be so much nicer if I could do the commenting right "in the source". I've been looking for a tool that would "interleave" the original source and my comments. Never modifying the source by saving my comments separately (but still associating the comments with the source in some way). Is there such a tool already? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do not want censorship by patent law on written works. Finagle's Fourth Law: Once a job is fouled up, anything done to improve it only makes it worse.
Attachment:
pgpmZwiEBYOX5.pgp
Description: PGP signature