Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To display a new line in the hint produced from a comment in VS Code, you can use the escape sequence "\n" followed by the text that you want to appear on a new line. For example:

// This is some text \nThis is text on a new line

In the above example, the hint produced from the comment will display as:

This is some text This is text on a new line