joshpeng / Sublime-Babel-VSCode

Sublime Text's babel-sublime grammar in VS Code.
MIT License
49 stars 17 forks source link

[insiders] auto indent in jsx syntax #20

Closed davidacreates closed 7 years ago

davidacreates commented 7 years ago

My cursor is not placed in the correct position on enter.

screen recording 2017-06-04 at 02 24 pm

joshpeng commented 7 years ago

Please let me know if latest sources fixes it for you. You can also try adding the highlighted line in the image below to this extension's package.json file.

image

davidacreates commented 7 years ago

@joshpeng updating the package.json file worked. thanks.

joshpeng commented 7 years ago

Actually this change seems to not have the desired effect so I've reverted it. It actually causes the extension to be disabled. I will try and investigate deeper when I have a little more time.

Edit: This issue seems to manifest in all custom grammar extensions. I've reported it here.

davidacreates commented 7 years ago

@joshpeng ok thanks. i originally posted it there - #28005 - but was told i needed to submit the issue with you. hopefully it can get straightened out.

joshpeng commented 7 years ago

@orangemooncreative I just released a version that should have it resolved. Please let me know if it works for you too. Thanks!