Author Topic: XMLDoc comments not working in c# files.  (Read 2488 times)

schugh

  • Community Member
  • Posts: 30
  • Hero Points: 0
XMLDoc comments not working in c# files.
« on: May 16, 2013, 05:46:30 PM »
Don't know if anyone else has reported this,
but in my c# file if I type /// at the top of a function header, nothing happens.
If I use the XmlDoc editor window to enter the comments, it uses a different format like
/*
 * the comments
 * @param something
*/

Matthew

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 990
  • Hero Points: 44
Re: XMLDoc comments not working in c# files.
« Reply #1 on: May 16, 2013, 09:00:06 PM »
If you press ENTER after the triple-slash (and not SPACE), you should see the XMLdoc comment expanded, using the XML doc syntax. I am able to reproduce the incorrect behavior where using the editor "from scratch" uses the JavaDoc style delimiters. But if the skeleton of the XMLdoc comment is already in place, it correctly uses the XML syntax. The menu item should read Document > Edit XML Comment.