We use prettier at work. You just need to configure it correctly. Answer from SanGoloteo on reddit.com
Discussions

reactjs - Visual studio code changes format (React-JSX) - Stack Overflow
I had the same challenge and I am hoping to discover a better way of handling this issue in vscode. I noticed your suggested work-around has to be done each time you open the react file with an extension of .js More on stackoverflow.com
🌐 stackoverflow.com
visual studio code - How can I override a react-beautify setting in VSCode? - Stack Overflow
I have a React Native project. In Visual Studio Code, I use the react-beautify add-in to beautify my code on the fly. The add-in uses a tool named prettydiff internally. The only thing it does tha... More on stackoverflow.com
🌐 stackoverflow.com
VScode messes JSX format (beautify)
Use a beautify tool that explicitly supports JSX such as react-beautify or prettier. VSCodeBeautify may support JSX however seems to be cases where it does not work. More on stackoverflow.com
🌐 stackoverflow.com
January 28, 2019
VScode messes JSX format (beautify) - javascript
Use a beautify tool that explicitly supports JSX such as react-beautify or prettier. VSCodeBeautify may support JSX however seems to be cases where it does not work. More on stackoverflow.com
🌐 stackoverflow.com
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
rc-beautify - Visual Studio Marketplace
March 14, 2018 - Extension for Visual Studio Code - Beautify React JavaScript TypeScript
🌐
GitHub
github.com › hatedMe › rc-beautify
GitHub - hatedMe/rc-beautify: A plugin for beautifying react.js in vscode
A plugin for beautifying react.js in vscode. Contribute to hatedMe/rc-beautify development by creating an account on GitHub.
Author   hatedMe
Find elsewhere
🌐
GitHub
github.com › taichi › react-beautify › tree › master › .vscode
GitHub - taichi/react-beautify
Contribute to taichi/react-beautify development by creating an account on GitHub.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Prettier - Code formatter - Visual Studio Marketplace
January 21, 2026 - Extension for Visual Studio Code - Code formatter using prettier
🌐
GitHub
gist.github.com › shukerullah › 34329bad2f01010a8107674c780c1024
Visual Studio Code settings for React Native · GitHub
These prepacked plugins will definitely help developers of React & ReactNative community ... Paste following code with your design settings. { // The number of spaces in a tab. "editor.tabSize": 2, // Specifies workbench icon theme. "workbench.iconTheme": "vscode-icons", // Format a file on save.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
jsx-beautify - Visual Studio Marketplace
Extension for Visual Studio Code - I am still working on it. So please do not download!!
🌐
Code Beautify
codebeautify.org › react-formatter
React Formatter Online
React beautifier Online works well on Windows, MAC, Linux, Chrome, Firefox, Edge, and Safari.
🌐
Syncfusion
syncfusion.com › blogs › react › 7 best vs code extensions for react development to boost productivity
7 Best VS Code Extensions for React Development to Boost Productivity | Syncfusion Blogs
February 11, 2026 - Although this extension is not explicitly designed for React, you can use it to format your React projects and maintain a standard style guide through the entire code base. More than 24 million developers already use the VS Code Prettier extension. In VS Code, press Ctrl+P and execute the command ext install esbenp.prettier-vscode.
🌐
DhiWise
dhiwise.com › post › react-code-formatting-made-easy-a-journey-with-prettier
Exploring the World of prettier: An Opinionated React Formatter
July 22, 2024 - One of the main advantages of using Prettier in your React app is that it helps to automatically format your code. This means that you don't have to spend time manually formatting your code, which can be a tedious task, especially in large projects.
🌐
Medium
medium.com › react-native-training › prettier-for-react-native-776fe33b8d93
Prettier, for React Native. Let the code format itself | by Lorenzo 'kelset' Sciandra | React Native Training | Medium
May 21, 2017 - It literally liberates you from the hassle of formatting code: and if you are like me, that was probably quite the amount of time (🤓)… you can now spend making your React Native app even better! ... Let’s make it work! First thing first, you need to download the Prettier extension for VSCode; once that’s installed, to have it format your code whenever you save you need to modify your editor preferences.
🌐
Prettier
prettier.io
Prettier · Opinionated Code Formatter · Prettier
prettier-vscode · Built-in support · Got more?Send a PR · See others · Regularly used by: More than 83% of respondents to State of JS 2021. More than 70% of respondents to State of JS 2020. More than 9.9 million dependent repositories on GitHubCheck Them Out ·