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

Problem with indentation in js, jsx, ts, tsx files #55

Open
letzabelin opened this issue Jun 30, 2020 · 5 comments
Open

Problem with indentation in js, jsx, ts, tsx files #55

letzabelin opened this issue Jun 30, 2020 · 5 comments

Comments

@letzabelin
Copy link

Example render method in react class. Symbol | is my cursor.

render() {
  return (
    <div>|</div>
  );
}

Then I press > and this is what happens:

render() {
  return (
    <div>
  |
    </div>
  );
}

And this happens with all files

@alex-shamshurin
Copy link

Yes, I have the save issue? How we can fix it?

@jamespottsSAFC
Copy link

I am also having this issue

@IBS27
Copy link

IBS27 commented Jul 9, 2021

Has this issue been fixed @alvan ? Because I am facing it too.

@vienlodev
Copy link

same to me. not indent in .jsx file. working fine on html

@MMachado05
Copy link

Weird, It's not working for me in HTML. Just throws my cursor back to the very beginning of the line, no tabs at all.

Even doing the >> thing to make a new line puts both whatever I'm going to type and the closing tag at the beginning of the new line.

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

6 participants