Sublime Forum

My tags stays yellow since last sublime text 3 update

#1

0 Likes

#2

yes please, fix this, I am having this problem as well.

0 Likes

#3

It looks like you are missing a } on line 2.

Additionally, you should be using a syntax designed for the language you are writing in. From the looks of it, my guess is that you are using JSX. Check out https://packagecontrol.io/packages/Babel and see if that helps.

0 Likes

#4

no, it is not working. I tried installing babel-sublime but for some reason it wont appear in the packages. I tried to install it manually, it wont work either. Everything was working fine until I updated to build 3103. I will have to give Atom a shot. Thanks anyways.

0 Likes

#5

Are you trying to use the HTML syntax with JSX? If so, you will run into parsing errors, since JSX isn’t valid JavaScript.

The Babel syntax will show as the View > Syntax > Babel > JavaScript (Babel) menu entry.

Without a sample of your code, I’m just speculating based on @tanisha’s example.

0 Likes

#6

It is working now. This is what I did:

  1. Ctrl + Shift + P
  2. Entered Babel
  3. Selected Set Syntax: (Babel)
1 Like

#7

It works! Thanks

0 Likes

#8

For what it’s worth, that’s another way for doing exactly what @wbond suggested :wink: Just saying…

1 Like