Visual Studio 2008 Automatic Line Breaks in Comments

When I write a comment, this is often a paragraph or a few lines that clearly explain what the code does and why it does it.

I would like if I could start a comment, and the editor automatically inserted a line break and continued the comment in the socket line when I reached, say, 80 characters.

So, I would print:

// Lorem ipsum dolor sit amet, consectetur adipiscing elit. <here the editor automatically breaks up and goes to the next line:>

// Etiam congue quam eget leo dignissim tincidunt.

+3
source share
4 answers

, , ///, //, enter, ///

, /// vs.//, , .

, ~

+1

, Comment Reflower. , , . , . ; .

VS2005:

http://commentreflower.sourceforge.net/

, , VS2008, VS2008:

http://www.kynosarges.de/CommentReflower.html

( , emacs , , . , - .)

+1

/...../comment , .

/* Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam congue quam eget leo dignissim tincidunt. */

0

, VS 2008 .

  • "" > "" > "" > ""
  • .Samples.VSEditor.FillCommentParagraph
  • . Alt + Q, Emacs.

, . , , .

, , . , , , Emacs.

0

Source: https://habr.com/ru/post/1713251/


All Articles