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

Newline is inserted after comment with comma_first #775

Closed
masterwok opened this issue Sep 16, 2015 · 1 comment
Closed

Newline is inserted after comment with comma_first #775

masterwok opened this issue Sep 16, 2015 · 1 comment
Milestone

Comments

@masterwok
Copy link

When using "comma_first" lines leading with a comma after a line containing a comment insert a newline. This is causing newlines to be inserted on every save.

Before Format:

changeCollection.add({
    name: 'Jonathan' // New line inserted after this line on every save
    , age: 25
});

After First Save

changeCollection.add({
    name: 'Jonathan' // New line inserted after this line on every save

    , age: 25
});

After Second Save:

changeCollection.add({
    name: 'Jonathan' // New line inserted after this line on every save


    , age: 25
});
@wellcaffeinated
Copy link

+1 I also found this. It's rather annoying.

@bitwiseman bitwiseman added this to the v1.6.0 milestone Nov 19, 2015
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

3 participants