Closed
Description
TypeScript Version: 3.4.0-dev.201xxxxx
Search Terms: https://github.com/microsoft/TypeScript/search?p=4&q=comments+is%3Aissue&type=Issues
Code
this code:
/**
* Lorem Ipsum
*
* dolor sit amet
*/
/**
* some comments here
*
* more comments here
*/
const mycode = () => 3
Expected behavior:
should generate these comments inside vscode/the language service (sorry i dont exactly know what the right terminology is) with a newline (or maybe even some separator):
Lorem Ipsum
dolor sit amet
some comments here
more comments here
Actual behavior:
no newline
Lorem Ipsum
dolor sit amet some comments here
more comments here
Related Issues:
first discussed on twitter https://twitter.com/atcb/status/1130336156522934273 and this was the main issue that introduced comment merging #27978 and it seems like there is some form of whitespace trimming that is probably the cause #28848