Sublime Forum

[Bug] Writing a chevron impossible in JSX

#1

Hi folks,

During my coding session, I found a little intresting bug (which is freaking me out lol).

In fact while writing code in JSX I found that in some cases it’s impossible for users (or at least for me) to write a closing chevron; here the case I found:

const Settings = () => {
    return (<div id="settings"</)
}

export default Settings;

As you can see, after “settings” I have to close the chevron, which works if I change the syntax with LUA but doesn’t if I use the JSX syntax highlighting…

And by “it doesn’t work” I mean, I really cannot type >

Does anyone know why ?

Thank’s in advance!

(Ohh and I apologize for my englysh syntax, it’s not my first language so… you know…)

0 Likes

#2

This is likely a key binding you or a 3rd party package have set up. Does it happen in safe mode?

0 Likes