Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Folding doxygen comments with Eclipse CDT?

Folding doxygen comments with Eclipse CDT?

Scheduled Pinned Locked Moved C / C++ / MFC
algorithmsquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    crewchill
    wrote on last edited by
    #1

    Hi. I've been googling this for a while now, and I still find no good answer for it. Before you throw RTFM at me, I'm still searching for the answer. But if you've been through this before, any useful links are appreciated. This would fold nicely:

    // xyz
    // @param x
    // @param y

    This would fold nicely also:

    /*
    * xyz
    * @param x
    * @param y
    */

    This wouldn't fold:

    /// xyz
    /// @param x
    /// @param y

    This wouldn't fold either:

    // xyz
    // @param x
    // @param y
    

    It won't kill me to see these, but as the code grows it's getting harder and harder to see the function names.

    M 1 Reply Last reply
    0
    • C crewchill

      Hi. I've been googling this for a while now, and I still find no good answer for it. Before you throw RTFM at me, I'm still searching for the answer. But if you've been through this before, any useful links are appreciated. This would fold nicely:

      // xyz
      // @param x
      // @param y

      This would fold nicely also:

      /*
      * xyz
      * @param x
      * @param y
      */

      This wouldn't fold:

      /// xyz
      /// @param x
      /// @param y

      This wouldn't fold either:

      // xyz
      // @param x
      // @param y
      

      It won't kill me to see these, but as the code grows it's getting harder and harder to see the function names.

      M Offline
      M Offline
      malk0lm
      wrote on last edited by
      #2

      Doxygen provides several ways to mark what it should process. Have you tried the alternatives like:

      /*!
      ...
      */

      or

      /////////////////////////////////////////////
      /// ...
      /////////////////////////////////////////////

      or

      //! ...
      //! ...

      C 1 Reply Last reply
      0
      • M malk0lm

        Doxygen provides several ways to mark what it should process. Have you tried the alternatives like:

        /*!
        ...
        */

        or

        /////////////////////////////////////////////
        /// ...
        /////////////////////////////////////////////

        or

        //! ...
        //! ...

        C Offline
        C Offline
        crewchill
        wrote on last edited by
        #3

        Thanks for your reply! The slash star and slash slash exclamation is out of the question due to company's coding standard. What I don't understand is why the triple slashes when it's tabbed inside it won't fold? I don't think the Eclipse CDT team haven't noticed that format already...

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups