sublimetext-codeformatter
sublimetext-codeformatter copied to clipboard
Formatter for this file type (javascript (babel)) not found.
I am currently using the javascript (babel) interprater on my javascript docs. I get this error when trying to format text: Formatter for this file type (javascript (babel)) not found.
Is there a workaround for this?
If you go into your user settings and add "javascript (babel)"
to the array of languages under the javascript options it should no longer complain about this.
Thanks, got this working now.
good jod! But in react jsx miserable. How do I configure it.
It doesn't really understand JSX though
IE:
class App extends Component {
render() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h1 className="App-title">Welcome to React</h1>
</header>
<p className="App-intro">
To get started, edit <code>src/App.js</code> and save to reload.
</p>
<Screen />
</div>
);
}
}
after
class App extends Component {
render() {
return ( <
div className = "App" >
<
header className = "App-header" >
<
img src = {
logo
}
className = "App-logo"
alt = "logo" / >
<
h1 className = "App-title" > Welcome to React < /h1> <
/header> <
p className = "App-intro" >
To get started, edit < code > src / App.js < /code> and save to reload. <
/p> <
Screen / >
<
/div>
);
}
}