React JSX closing brace getting eaten in props
1. Make sure "inset pair bracket" option is checked in Smart Keys
2. Create a prop
<OAuth newProp={} />
3. Enter `{` within the prop brackets; the closing bracket is either getting eaten by some functionality or not created
<OAuth newProp={{} />
What setting config do I need to change to fix this to work as expected?
ex. It works fine if within parentheses or any other JS situation
<OAuth newProp={({})} />
Please sign in to leave a comment.
Works for me - closing bracket is created if Insert pair bracket is enabled in Settings | Editor | General | Smart Keys
Please share your settings (File | Export settings) and screencast that shows up the issue