akarlsten / snazzy-plus

VS Code color theme
https://marketplace.visualstudio.com/items?itemName=akarlsten.vscode-snazzy-akarlsten
MIT License
7 stars 2 forks source link

React components are just plain white, not highlighted #1

Closed medmin closed 4 years ago

medmin commented 4 years ago

Hi, there

So, I have noticed that React componets are not highlighted.


const MyComponent = ({msg})=>(<div>{msg}</div>);

function App(){

    return (
        <MyComponent msg="Hello World" />
     );  

}

In the above code, MyComponent is just white, not highlighted.

Is there any way to make it colorful ? Thanks

akarlsten commented 4 years ago

What language setting do you have set for the file?

With Javascript (Babel) I get highlighting as if the component were a HTML element (which is what I want): Screenshot_20191204_151931

medmin commented 4 years ago

Thanks. Yeah, that's what i need too. May i ask how you set it ? Would you like to share your settings ? Thanks.