Code comment:<c> not recognised

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ron James

    #1

    Code comment:<c> not recognised

    I've included the following in a C# class:

    /// <summary>
    /// The method <c>Junk</c> doesn't do anything.
    /// </summary>
    public void Junk(){}

    After running Tools->Build Comment Web pages, Junk's entry
    in the Code Comment Web Report is:

    "The method <c>Junk</c> doesn't do anything."

    I was expecting the <c> tag to highlight "Junk" as code.
    What am I missing?

    Many thanks


  • Michael Mayer

    #2
    Re: Code comment:&lt;c&g t; not recognised

    It seems Build Comment Web Pages has quite a few "problems". Have you
    tried NDOC? (if not do a google search, I belive ndoc is on
    sourceforge). It handles tags much better (like see, seealso). I'm
    not sure why M$ did such a (IMO) lousy job with Build Comment Web
    Pages. I used it once and discarded it as pretty worthless.
    -mike

    "Ron James" <Ron.James@nosp am.rojacs.com> wrote in message
    news:23bf01c353 91$428435f0$a00 1280a@phx.gbl.. .[color=blue]
    > I've included the following in a C# class:
    >
    > /// <summary>
    > /// The method <c>Junk</c> doesn't do anything.
    > /// </summary>
    > public void Junk(){}
    >
    > After running Tools->Build Comment Web pages, Junk's entry
    > in the Code Comment Web Report is:
    >
    > "The method <c>Junk</c> doesn't do anything."
    >
    > I was expecting the <c> tag to highlight "Junk" as code.
    > What am I missing?
    >
    > Many thanks
    >
    >[/color]


    Comment

    • Christoph Nahr

      #3
      Re: Code comment:&lt;c&g t; not recognised

      On Sat, 26 Jul 2003 09:16:24 -0700, "Ron James"
      <Ron.James@nosp am.rojacs.com> wrote:
      [color=blue]
      >I was expecting the <c> tag to highlight "Junk" as code.
      >What am I missing?[/color]

      Nothing. Like Michael said, the "comment web pages" feature is
      basically useless. And the <c> tag is broken in the free custom help
      builder at http://www.gotdotnet.com/team/ide/ as well, by the way.
      Use NDoc instead, available at http://ndoc.sourceforge.net/.
      --
      Stay ahead in World of Warcraft with expert guides, latest patch news, class tips, dungeon strategies, PvP builds, and The War Within updates—all in one place.

      Comment

      Working...