6

I'm using Visual Studio Enterprise 2015 & Resharper 10 for my javascript project. I'm writing documentation for my javascript functions. These documentation also helps me with intellisense when I'm writing code.

    /**
     * @description Get element(s) by a query. 
     * An ex: 
     * find all paragraphs with the class "summary" in the article with ID "first"
     * "article#first p.summary"
     * @param {String} query
    */
    getByQuery: function(query) {
        return exampleFunction(query);
    }

But I can't find a way for creating new lines in javascript summary/documentation.

Please look at this picture, you will understand what I mean;
enter image description here

I tried;

<br>
<br/>
@newline
\n
<para>
</para>
@example
Lost_In_Library
  • 3,265
  • 6
  • 38
  • 70

1 Answers1

-1

try using < br > for your new line.

My line one<br>
My line two


edit:

Sorry the < br > is for eclipse documentation. For Visual Studio try < para >

<para>My line one</para>
<para>My line two</para>
ReaperSoon
  • 765
  • 7
  • 23