{"repo":"prettier/prettier-vscode","free":true,"listed":false,"github":"https://github.com/prettier/prettier-vscode","clone":"git clone https://github.com/prettier/prettier-vscode.git","description":"Visual Studio Code extension for Prettier","language":"TypeScript","stars":5505,"topics":["formatter","typescript","visual-studio-code","visual-studio-code-extension"],"license":"MIT","category":"dev-tools","readme_excerpt":"Prettier Formatter for Visual Studio Code Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. JavaScript · TypeScript · Flow · JSX · JSON CSS · SCSS · Less HTML · Vue · Angular HANDLEBARS · Ember · Glimmer GraphQL · Markdown · YAML Your favorite language? Installation Install through VS Code extensions. Search for Prettier - Code formatter Visual Studio Code Market Place: Prettier - Code formatter Can also be installed in VS Code: Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter. Default Formatter To ensure that this extension is used over other extensions you may have installed, be sure to set it as the default formatter in your VS Code settings. This setting can be set for all languages or by a specific language. Note: VS Code does not support combined language syntax for editor.defaultFormatter . You must set the formatter for each language separately: If you want to disable Prettier on a particular language you can either create a .prettierignore file or you can use VS Code's editor.defaultFormatter settings. The following will use Prettier for all languages except Javascript. The following will use Prettier for only Javascript. Additionally, you can disable format on save for specific languages if you don't want them to be automatically formatted. Prettier Resolution This extension w","default_branch":null,"files":null,"tree":[],"storefront":"/r/prettier","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/prettier/prettier-vscode/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}