Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7087063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:37:39+00:00 2026-05-28T07:37:39+00:00

Is there a way in Xcode to generate method comment automatically similar to what

  • 0

Is there a way in Xcode to generate method comment automatically similar to what you do in Eclipse for javadoc comments.

For example press you may hit /** one row before a method declaration and eclipse automatically generates the skeleton of method comments.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:37:40+00:00Added an answer on May 28, 2026 at 7:37 am

    You can use the Code Snippets library for this. It won’t automatically generate placeholders for each parameter, but it’s pretty useful nonetheless. Here’s what you do:

    1. Write out a sample comment block in your code somewhere.
    2. Insert <#xyz#> where you want a placeholder named ‘xyz’ to appear. (These are like parameter completion placeholders, so you can tab between them and overwrite them.)

    For example:

    /**
     * Method name: <#name#>
     * Description: <#description#>
     * Parameters: <#parameters#>
    */
    
    1. Open up the right hand sidebar. In the bottom pane click on the two curly braces icon to bring up the snippets library.
    2. Select and drag your text to the code snippets library.
    3. It’ll create a new one. Double click on it, click edit in the popup, and give it a completion shortcut (e.g. comblk for comment block.)

    Now, when you type ‘comblk’ anywhere in your editors, the autocomplete popup appears and you can hit return to paste in the snippet. The first placeholder will be selected and you can start typing the method’s name. Hit tab to switch to description, and so on.

    Not ideal but it’s better than nothing. Snippets are a nice idea that Apple haven’t quite finished implementing yet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Xcode 4.x is there a way to quickly add method stubs for a
Is there a way in Xcode to sort my list of files under say
is there any way to detect device with xcode ? i mean when my
Is there a way to add earlier versions of iphone os in xcode 3.1.2,
Silly question - Is there a way to download the iPhone SDK without Xcode
I'm using xcode and I was wondering if there was a way to view
In Xcode, there doesn't seem to be an obvious way to do this. Visual
Is there a way for xcode to launch an application with an app URL?
Is there a way to get XCode to play nice with shared folders and
Is there a way in Xcode to have your software open up the console

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.