jmd42
jmd42

Reputation: 121

c# /// summary, SINGLE line break (IntelliSense)

If I use the <para></para> statement in a C# ///summary, I get a blank line and then the text goes on, which is equivalent to two line breaks (<br/> or \n).

However I'd really like to add single line breaks, which just cause my text to start at the next line, without leaving a blank line in between.

The suggested solutions don't work for me, see a screenshot: Two line breaks

Update: I'm using Visual Studio 2015 with Visual Assist Plugin, no manual changes done to any intelli-sense formatting options.

Update 2: It's not caused by the Visual Assist Plugin (I disabled it). It seems to be simply different in VS2015.

Upvotes: 11

Views: 4550

Answers (1)

rAhulD
rAhulD

Reputation: 59

This is by the design of visual studio editor. If you are using Visual Studio's editor to view the summary, they have restricted it for limited html elements. You can still use most of the html elements to format your summary and will be applied when you export the documentation, but visual studio ignores them.

I think resharper intellisense formats the summary with

Upvotes: 1

Related Questions