React syntax highlighting for SUBLIME




Generally ES6 syntax is not recognized by the sublime editor.In order to make it recognize we need to install babel package for sublime

In order to have your syntax get highlighted in sublime, follow the below instructions

Installing Babel package for sublime

1) Go to sublime editor and go to preferences on the top bar


2) In preferences select package control

3) In package control type install package

4) Find babel in the available packages and select it

Then in order to apply it to the syntax , we need to follow few more steps

Using Babel package to highlight the syntax

Go to view-> syntax -> Babel in sublime to order to apply the highlighting to all the syntax written in ES6

Now , we have the ES6 syntax being highlighted in sublime

Share this

Related Posts

Previous
Next Post »