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

jsx-mode.el doesn't indent multi-line comments properly. #1

Closed
nyuichi opened this issue Jul 6, 2012 · 1 comment
Closed

jsx-mode.el doesn't indent multi-line comments properly. #1

nyuichi opened this issue Jul 6, 2012 · 1 comment

Comments

@nyuichi
Copy link
Member

nyuichi commented Jul 6, 2012

When indenting jsx source codes that have multi-line comments such as below one,

class Foo {
/* Comment
 * Comment
 */
    function bar(a : Bar) : void {
    }
}

I want

class Foo {
    /* Comment
     * Comment
     */
    function bar(a : Bar) : void {
    }
}

but I get

class Foo {
    /* Comment
 * Comment
 */
    function bar(a : Bar) : void {
    }
}

This behavior doesn't look proper and is very annoying because I have to insert spaces manually before the comments every time.

@abicky
Copy link
Member

abicky commented Jul 7, 2012

Thank you for your report. I fixed this bug in version 0.1.4.

@abicky abicky closed this as completed Jul 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants