« Return to Thread: pragma mark with python in xcode?

Re: pragma mark with python in xcode?

by Nehemiah Dacres-2 :: Rate this Message:

Reply to Author | View in Thread

Sigh, now you see my misunderstanding, sorry for the abuse of CAPS LOCK but #pragma marks are only called  #pragma because of the preprocessor, which is why GCC is getting away from that. (note the gcc handbook, i checked it out one week) anyway, it would be silly for an editor to detect things that are language specific in a non language spesific way. if you just said you wanted to mark places in your code, then you would have gotten that sooner. (in an editor spesific manor) 
note : I use Vim

On Tue, Aug 12, 2008 at 8:16 AM, Daniel Ashbrook <anjiro@...> wrote:
Heeeey, awesome! Who woulda thought that reading the documentation would actually come in handy? Much obliged, Mike!


dan



Mike Covill wrote:
 From Apple's "Xcode Workspace Guide:, chapter 6, section 2:

http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeWorkspace/600-The_Text_Editor/chapter_6_section_2.html

you can use these inside a comment and the drop down will display them in bold, like the #pragma mark does in C code:

MARK:
TODO:
FIXME:
!!!:
???:

You can use "MARK:" just like you use "#pragma mark" in C code, and it ("MARK:") will not show up in the drop down, just the comment following it.  The others will be included in the drop down item.

#MARK: Section 1
 displays as:   "Section 1"

#!!!: Look at this now!
 displays as:   "!!! Look at this now"

Mike


_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@...
http://mail.python.org/mailman/listinfo/pythonmac-sig



--

"lalalalala! it's not broken because I can use it"

http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@...
http://mail.python.org/mailman/listinfo/pythonmac-sig

 « Return to Thread: pragma mark with python in xcode?