• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: markers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: markers


  • Subject: Re: markers
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 10 Jan 2017 09:47:35 -0800


On Jan 10, 2017, at 2:58 AM, J.E. Schotsman <email@hidden> wrote:

I read on Stackoverflow that you can use markers // !!!: and // ???: to add comments to code.

I wasn’t sure what you meant by that (anything after “//“ is a comment, after all). Looks like what you mean is that these comments add markers to the function pop-up.  I can confirm that this works for me in Obj-C and C++ source files.

Other markers I know of are “// TODO:” and “// FIXME:” All four of these have their own icon that appears in the pop-up before the text.

(There’s also an Xcode plugin available via Alcatraz that causes such comments to be emitted as warnings in the build output, so you _really_ pay attention to them.)

—Jens
 _______________________________________________
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

  • Follow-Ups:
    • Re: markers
      • From: Mike Swingler <email@hidden>
References: 
 >markers (From: "J.E. Schotsman" <email@hidden>)

  • Prev by Date: Re: markers
  • Next by Date: Re: markers
  • Previous by thread: Re: markers
  • Next by thread: Re: markers
  • Index(es):
    • Date
    • Thread