Re: commenting code using diagrams
Re: commenting code using diagrams
- Subject: Re: commenting code using diagrams
- From: Jonathon Kuo <email@hidden>
- Date: Fri, 10 Apr 2009 13:34:52 -0700
On Apr 10, 2009, at 7:35 AM, Paul Walmsley wrote:
Sean McBride wrote:
On 4/10/09 1:54 PM, julius said:
is there any way of including diagrams within the comments of my
source code (Objective-C in XCode 3.1.2.)?
For instance
... code...
// compute angle Beta in the diagram
// <here I include the diagram>
// other comments ....
... more code....
Though not as good as a real diagram, sometimes I find the wealth of
Unicode characters helpful in comments. There are all kinds of
mathematical characters and line and shape chars that you can use in
your comments.
Another possibility is to use an ASCII art editor, eg http://www.jave.de/
If you use doxygen you can wrap this in \verbatim ... \endverbatim
tags so that it will preserve the format in the HTML output.
Is there a tool that will ASCIIise existing diagrams/graphics into a
commentable block of text characters?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden