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. 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. 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. Additionally, you can disable format on save for specific languages if you don't want them to be automatically formatted. This extension will use prettier from your project's local dependencies (recommended). When the prettier.resolveGlobalModules is set to true the extension can also attempt to resolve global modules.

Features

  • For JavaScript, TypeScript, Flow, JSX, and JSON
  • Install through VS Code extensions
  • This extension supports Prettier plugins
  • This extension will attempt to register the language and provide automatic code formatting
  • There are multiple options for configuring Prettier with this extension
  • You can use VS Code settings, prettier configuration files, or an .editorconfig file

Project Samples

Project Activity

See All Activity >

Categories

Code Formatters

License

MIT License

Follow Prettier Formatter for Visual Studio

Prettier Formatter for Visual Studio Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Prettier Formatter for Visual Studio!

Additional Project Details

Operating Systems

Windows

Programming Language

TypeScript

Related Categories

TypeScript Code Formatters

Registered

2022-01-12