Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

21,856

Downloads of v 11.0.0:

360

Last Update:

15 Aug 2024

Package Maintainer(s):

Software Author(s):

  • Esben Petersen

Tags:

formatter code vscode prettier

Prettier Code Formatter VSCode Extension

  • 1
  • 2
  • 3

11.0.0 | Updated: 15 Aug 2024

Downloads:

21,856

Downloads of v 11.0.0:

360

Maintainer(s):

Software Author(s):

  • Esben Petersen

Prettier Code Formatter VSCode Extension 11.0.0

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Esben Petersen. The inclusion of Esben Petersen trademark(s), if any, upon this webpage is solely to identify Esben Petersen goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Requires any version of Visual Studio Code to be pre-installed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Prettier Code Formatter VSCode Extension, run the following command from the command line or from PowerShell:

>

To upgrade Prettier Code Formatter VSCode Extension, run the following command from the command line or from PowerShell:

>

To uninstall Prettier Code Formatter VSCode Extension, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade vscode-prettier -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade vscode-prettier -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install vscode-prettier
  win_chocolatey:
    name: vscode-prettier
    version: '11.0.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'vscode-prettier' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '11.0.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller vscode-prettier
{
    Name     = "vscode-prettier"
    Version  = "11.0.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'vscode-prettier':
  ensure   => '11.0.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 15 Aug 2024.

Description

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
GraphQL · Markdown · YAML
Your favorite language?

screenshot

Notes

  • This package requires Visual Studio Code 1.80.0 or newer.
    You can install either the vscode or vscode-insiders package.
  • The extension will be installed in all editions of Visual Studio Code which can be found.
  • While this package installs a specific version of the extension, Visual Studio Code by default will update the extension to the latest version on startup if there's a newer version available on the marketplace.
    See Extension auto-update for instructions on how to disable auto-update.
  • This package is automatically updated using the Chocolatey Automatic Package Update Model (AU).
    If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.

legal\LICENSE.txt
MIT License

Copyright (c) 2017 Esben Petersen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
legal\VERIFICATION.txt
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The Visual Code extension has been downloaded from the official Visual Studio Marketplace public gallery
and can be verified by:

1. Go to the Visual Studio Marketplace page for the extension

  https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

and download the extension esbenp.prettier-vscode-11.0.0.vsix using the Download Extension link
in the Resources section of the sidebar.

Alternatively the package can be downloaded directly from

  https://marketplace.visualstudio.com/_apis/public/gallery/publishers/esbenp/vsextensions/prettier-vscode/11.0.0/vspackage

2. The extension can be validated by comparing checksums
  - Use powershell function 'Get-Filehash' - Get-Filehash esbenp.prettier-vscode-11.0.0.vsix
  - Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f esbenp.prettier-vscode-11.0.0.vsix

  Type:     sha256
  Checksum: A4D8E4261A1FD7D72E2B43EC5C9FD0FD96F61FB7A82247D724C2D92789439FB9

  File LICENSE.txt is obtained from https://marketplace.visualstudio.com/items/esbenp.prettier-vscode/license
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Install-VsCodeExtension -extensionId "$toolsDir\esbenp.prettier-vscode-11.0.0.vsix"
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'

Uninstall-VsCodeExtension -extensionId 'esbenp.prettier-vscode'
tools\esbenp.prettier-vscode-11.0.0.vsix
md5: 9817BE2F82DB62B1A0EA2401F92953ED | sha1: A132DC25C87711E0EC124C3AFD2EB2ED1D8B05CB | sha256: A4D8E4261A1FD7D72E2B43EC5C9FD0FD96F61FB7A82247D724C2D92789439FB9 | sha512: 36F866839C5EDFA3FC7AC14FE2124E05A51696900CFEBE050B48DAB9B9E378051C0AFD174724B84ECED004D1C81EA665359DE6161807DF31CB3E34EDE1DDAE27

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Prettier Code Formatter VSCode Extension 10.4.0 574 Friday, March 22, 2024 Approved
Prettier Code Formatter VSCode Extension 10.3.0 94 Thursday, March 21, 2024 Approved
Prettier Code Formatter VSCode Extension 10.1.0 970 Tuesday, August 1, 2023 Approved
Prettier Code Formatter VSCode Extension 9.19.0 763 Saturday, July 1, 2023 Approved
Prettier Code Formatter VSCode Extension 9.16.0 272 Friday, June 23, 2023 Approved
Prettier Code Formatter VSCode Extension 9.15.0 178 Wednesday, June 21, 2023 Approved
Prettier Code Formatter VSCode Extension 9.14.0 182 Tuesday, June 20, 2023 Approved
Prettier Code Formatter VSCode Extension 9.13.0 743 Saturday, May 27, 2023 Approved
Prettier Code Formatter VSCode Extension 9.12.0 639 Saturday, April 22, 2023 Approved
Prettier Code Formatter VSCode Extension 9.10.4 844 Friday, January 13, 2023 Approved
Prettier Code Formatter VSCode Extension 9.10.3 427 Friday, December 2, 2022 Approved
Prettier Code Formatter VSCode Extension 9.9.0 616 Saturday, September 24, 2022 Approved
Prettier Code Formatter VSCode Extension 9.8.0 554 Sunday, August 21, 2022 Approved
Prettier Code Formatter VSCode Extension 9.5.0 1121 Tuesday, March 29, 2022 Approved
Prettier Code Formatter VSCode Extension 9.3.0 418 Monday, February 21, 2022 Approved
Prettier Code Formatter VSCode Extension 9.2.0 310 Sunday, February 13, 2022 Approved
Prettier Code Formatter VSCode Extension 9.1.0 435 Saturday, January 8, 2022 Approved
Prettier Code Formatter VSCode Extension 9.0.0 832 Tuesday, September 21, 2021 Approved
Prettier Code Formatter VSCode Extension 8.1.0 569 Tuesday, July 27, 2021 Approved
Prettier Code Formatter VSCode Extension 8.0.1 461 Thursday, June 24, 2021 Approved
Prettier Code Formatter VSCode Extension 7.1.1 231 Tuesday, June 22, 2021 Approved
Prettier Code Formatter VSCode Extension 6.4.0 592 Tuesday, May 11, 2021 Approved
Prettier Code Formatter VSCode Extension 6.3.2 497 Tuesday, April 6, 2021 Approved
Prettier Code Formatter VSCode Extension 6.3.1 405 Wednesday, March 17, 2021 Approved
Prettier Code Formatter VSCode Extension 6.2.0 213 Monday, March 15, 2021 Approved
Prettier Code Formatter VSCode Extension 5.9.2 460 Friday, February 12, 2021 Approved
Prettier Code Formatter VSCode Extension 5.9.1 334 Friday, February 5, 2021 Approved
Prettier Code Formatter VSCode Extension 5.8.0 625 Saturday, November 21, 2020 Approved
Prettier Code Formatter VSCode Extension 5.7.2 294 Thursday, November 12, 2020 Approved
Prettier Code Formatter VSCode Extension 5.7.1 344 Friday, September 25, 2020 Approved
Prettier Code Formatter VSCode Extension 5.6.0 221 Thursday, September 10, 2020 Approved
Prettier Code Formatter VSCode Extension 5.5.0 221 Friday, August 28, 2020 Approved
Prettier Code Formatter VSCode Extension 5.3.0 153 Thursday, August 27, 2020 Approved
Prettier Code Formatter VSCode Extension 5.2.1 162 Tuesday, August 25, 2020 Approved
Prettier Code Formatter VSCode Extension 5.1.3 439 Friday, July 3, 2020 Approved
Prettier Code Formatter VSCode Extension 5.1.2 175 Thursday, July 2, 2020 Approved
Prettier Code Formatter VSCode Extension 5.1.1 157 Wednesday, July 1, 2020 Approved
Prettier Code Formatter VSCode Extension 5.1.0 182 Saturday, June 20, 2020 Approved
Prettier Code Formatter VSCode Extension 5.0.1 124 Saturday, June 20, 2020 Approved
Prettier Code Formatter VSCode Extension 5.0.0 234 Wednesday, June 3, 2020 Approved
Prettier Code Formatter VSCode Extension 4.7.0 230 Thursday, May 14, 2020 Approved
Prettier Code Formatter VSCode Extension 4.6.0 184 Sunday, May 10, 2020 Approved
Prettier Code Formatter VSCode Extension 4.5.0 238 Thursday, April 23, 2020 Approved
Prettier Code Formatter VSCode Extension 4.4.0 221 Thursday, April 16, 2020 Approved
Prettier Code Formatter VSCode Extension 4.3.0 164 Tuesday, April 14, 2020 Approved
Prettier Code Formatter VSCode Extension 4.2.0 168 Friday, April 10, 2020 Approved
Prettier Code Formatter VSCode Extension 4.1.1 174 Tuesday, April 7, 2020 Approved
Prettier Code Formatter VSCode Extension 4.0.0 166 Saturday, April 4, 2020 Approved
Prettier Code Formatter VSCode Extension 3.20.0 341 Wednesday, January 29, 2020 Approved
Prettier Code Formatter VSCode Extension 3.19.0 145 Wednesday, January 29, 2020 Approved
Prettier Code Formatter VSCode Extension 3.18.0 242 Monday, December 23, 2019 Approved
Prettier Code Formatter VSCode Extension 3.17.0 197 Friday, December 20, 2019 Approved
Prettier Code Formatter VSCode Extension 3.16.1 183 Wednesday, December 18, 2019 Approved
Prettier Code Formatter VSCode Extension 3.16.0 181 Wednesday, December 18, 2019 Approved
Prettier Code Formatter VSCode Extension 3.15.0 149 Wednesday, December 18, 2019 Approved
Prettier Code Formatter VSCode Extension 3.14.0 178 Monday, December 16, 2019 Approved
Prettier Code Formatter VSCode Extension 3.13.0 161 Sunday, December 15, 2019 Approved
Prettier Code Formatter VSCode Extension 3.12.0 173 Sunday, December 15, 2019 Approved
Prettier Code Formatter VSCode Extension 3.11.0 186 Wednesday, December 4, 2019 Approved
Prettier Code Formatter VSCode Extension 3.10.0 217 Wednesday, December 4, 2019 Approved
Prettier Code Formatter VSCode Extension 3.9.0 145 Wednesday, December 4, 2019 Approved
Prettier Code Formatter VSCode Extension 3.8.0 152 Wednesday, December 4, 2019 Approved
Prettier Code Formatter VSCode Extension 3.7.0 236 Saturday, November 23, 2019 Approved
Discussion for the Prettier Code Formatter VSCode Extension Package

Ground Rules:

  • This discussion is only about Prettier Code Formatter VSCode Extension and the Prettier Code Formatter VSCode Extension package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Prettier Code Formatter VSCode Extension, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus