When Using a "C" style comment /**/ how do I disable the automatic * on every line?

How do I disable or stop the IDE from adding a new * on every line after hitting the enter key when I am creating a "C" style comment

/*
 * I don't want this line to start with *
 * I don't want this line to start with *
  **/

Like This:

/*

My comment is now easier to read.
Because, there is no * in front of every line

*/

 


Answer this question

When Using a "C" style comment /**/ how do I disable the automatic * on every line?

  • goldandwhite

    Thanks. :)  Keeps us motivated. :)

    Yeah, I agree that we should probably allow the ability to modify it.

  • Rschraeger

    Unfortunately, there is no way to disable this for C#.   This is something that we've heard feedback on and we're tracking as a postponed bug for the next version.

    HTH,
    Karen

  • ploxis

    First of all I must say that I sofar like the VS2005 environment a LOT! Good job!

    If you consider the possibility to modify the apperance of comments then I also hope that you consider the possibility to modify the indentation of the comment.

    I, for example, usually ident my comments one level beyond the code statements in order to make the code statements stand out better:

    <statement>;

       // Comment
    <statement>;

    Regards
    /Svante

  • Mang

    try deselecting "smart comment editing" from

    tools...options...text editor...C#...Formatting

  • Andrew Jacobs

    Thanks, at least I don't have to knock myself out trying to turn it off. But I think it would be a good Idea, to either remove this auto * thingy, or at least allow us to define the behavior.

    This is not a big deal, just a nuisance.

    By the way, I just love the whole VS2005 .net development environment, good job Microsoft.

    Russell Mangel
    Las Vegas, NV

  • When Using a "C" style comment /**/ how do I disable the automatic * on every line?