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 659269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:01:32+00:00 2026-05-13T23:01:32+00:00

I am currently starting using doxygen to document my source code. I have notice

  • 0

I am currently starting using doxygen to document my source code. I have notice that the syntax is very heavy, every time I modify the source code, I also need to change the comment and I really have the impression to pass too much time modifying the comment for every change I make in the source code.

Do you have some tips to document my source code efficiently ?

Does some editor (or plugin for existing editor) for doxygen to do the following exist?

  • automatically track unsynchronized code/comment and warn the programmer about it.
  • automatically add doxygen comment format (template with parameter name in it for example) in the source code (template) for every new item

PS: I am working on a C/C++ project.

  • 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-13T23:01:32+00:00Added an answer on May 13, 2026 at 11:01 pm

    Is it the Doxygen syntax you find difficult? Or is it the fact that you have to comment all of the functions now.

    If it’s the former, there may be a different tool that fits your coding style better. Keep in mind that Doxygen supports multiple commenting styles, so experiment until you find one you like.

    If it’s the latter, then tough it out. As a good programming practice, every public-facing function should have a comment header that explains:

    1. What the function does
    2. The parameters
    3. The return codes
    4. Any major warnings/limitations about the function.

    This is true regardless of the documentation tool you use.

    My big tip: Avoid the temptation to comment too much. Describe what you need, and no more. Doxygen gives you lots of tags, but you don’t have to use them all.

    • You don’t always need a @brief and a detailed description.
    • You don’t need to put the function name in the comments.
    • You don’t need to comment the function prototype AND implementation.
    • You don’t need the file name at the top of every file.
    • You don’t need a version history in the comments. (You’re using a version control tool, right?)
    • You don’t need a “last modified date” or similar.

    As for your question: Doxygen has some configuration options to trigger warnings when the comments don’t match the code. You can integrate this into your build process, and scan the Doxygen output for any warnings. This is the best way I have found to catch deviations in the code vs comments.

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

Sidebar

Related Questions

Currently working on an ASP.NET web app and am starting to realise i'm writing
I'm currently repeating a task in a for loop inside a callback using Twisted,
I'm currently trying to learn game programming, so I'm starting with a simple application
I am using a JavaScript script that tells me if specific image URLs are
I have a working android app using TextView, some formatting (line breaks, rows of
I'm currently attempting to take snapshot of a specified portion of my application's window
I'm starting to build a script for a Penny Auction site like swoopo.com What
I'm starting a new project and the client wants to use the Entity Framework
I'm currently running an Apache server (2.2) on my local machine (Windows) which I'm
I'm currently building a Windows Service which needs to process a queue of messages

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.