Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong line ending added to js file when editing a multiline comment. #504

Closed
ghost opened this issue Oct 3, 2015 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Oct 3, 2015

When I edit *.js files that have all LF line endings, Visual Studio mostly respects that and does not replace them with CR+LF when saving. However, when I turn a single-line JSDoc style comment into a multiple line comment, a CR+LF is added to the file.

Example: If I put the cursor after the last period in the comment below and press ENTER, that comment will contain a CR character.

/** My function for greeting the world. */
function myFn() {
  alert('Hello, world!');
}

Probably related to #67 and others...
Originally entered at madskristensen/WebEssentials2015#104 but I don't think that was the correct repo.

@mjbvz
Copy link
Contributor

mjbvz commented Aug 5, 2016

I've been unable to repro this issue with NTVS 1.2 using the Typescript backed editor (some of the functionality around comment completion was also removed #786). Please give it a try and let me know if you are still seeing the problem.

Thanks.

@mjbvz mjbvz closed this as completed Aug 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants