EN
VS Code - breaking up HTML tags in JSX on save
1
answers
1
points
VS Code keeps breaking up HTML tags in JSX on save, do you have any ideas how to fix it?
My code after saving React app:
import './App.css';
function App() {
return ( <
div >
<
/div></div >
);
}
export default App;
1 answer
3
points
Beautify extension may cause some issues with Prettier formatter.
Try to add the code below in settings.json:
"beautify.ignore": [
"**/*.js",
"**/*.jsx"
]
Where to find settings.json file:
1. Go to File -> Preferences -> Settings,
2. Search for "beautify ignore",
3. Click Edit in settings.json
0 comments
Add comment