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:

20,179

Downloads of v 4.2.0:

151

Last Update:

10 Apr 2020

Package Maintainer(s):

Software Author(s):

  • Esben Petersen

Tags:

formatter code vscode prettier

Prettier Code Formatter VSCode Extension

This is not the latest version of Prettier Code Formatter VSCode Extension available.

  • 1
  • 2
  • 3

4.2.0 | Updated: 10 Apr 2020

Downloads:

20,179

Downloads of v 4.2.0:

151

Maintainer(s):

Software Author(s):

  • Esben Petersen

Prettier Code Formatter VSCode Extension 4.2.0

This is not the latest version of Prettier Code Formatter VSCode Extension available.

  • 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'" --version="'4.2.0'" [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'" --version="'4.2.0'" 
$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: '4.2.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  '4.2.0'
end

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


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

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


package { 'vscode-prettier':
  ensure   => '4.2.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 10 Apr 2020.

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.41.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-4.2.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/4.2.0/vspackage

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

  Type:     sha256
  Checksum: AA06FD553445D32034FDE7FF3B90BA45550EA585D4EC2A1193F39ACC89D0E6C9

  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-4.2.0.vsix"
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'

Uninstall-VsCodeExtension -extensionId 'esbenp.prettier-vscode'
tools\esbenp.prettier-vscode-4.2.0.vsix
md5: F2DEA5B6E6006637153404D82ACB544E | sha1: 64CAE2E9C481DD0C43DD2EC007CCB50D58F4121F | sha256: AA06FD553445D32034FDE7FF3B90BA45550EA585D4EC2A1193F39ACC89D0E6C9 | sha512: A8086F5A26897CD36B5266F67E21AB7901E59A6F460F74A4E05E796B49AF8C1E04C12B0F7B2774CBE3FAF196A8C325CB196CB1946614EE4F7F4410485537338A

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.3.0 84 Thursday, March 21, 2024 Approved
Prettier Code Formatter VSCode Extension 10.1.0 942 Tuesday, August 1, 2023 Approved
Prettier Code Formatter VSCode Extension 9.19.0 752 Saturday, July 1, 2023 Approved
Prettier Code Formatter VSCode Extension 9.16.0 263 Friday, June 23, 2023 Approved
Prettier Code Formatter VSCode Extension 9.15.0 163 Wednesday, June 21, 2023 Approved
Prettier Code Formatter VSCode Extension 9.14.0 166 Tuesday, June 20, 2023 Approved
Prettier Code Formatter VSCode Extension 9.13.0 731 Saturday, May 27, 2023 Approved
Prettier Code Formatter VSCode Extension 9.12.0 624 Saturday, April 22, 2023 Approved
Prettier Code Formatter VSCode Extension 9.10.4 833 Friday, January 13, 2023 Approved
Prettier Code Formatter VSCode Extension 9.10.3 417 Friday, December 2, 2022 Approved
Prettier Code Formatter VSCode Extension 9.9.0 603 Saturday, September 24, 2022 Approved
Prettier Code Formatter VSCode Extension 9.8.0 536 Sunday, August 21, 2022 Approved
Prettier Code Formatter VSCode Extension 9.5.0 1103 Tuesday, March 29, 2022 Approved
Prettier Code Formatter VSCode Extension 9.3.0 404 Monday, February 21, 2022 Approved
Prettier Code Formatter VSCode Extension 9.2.0 298 Sunday, February 13, 2022 Approved
Prettier Code Formatter VSCode Extension 9.1.0 419 Saturday, January 8, 2022 Approved
Prettier Code Formatter VSCode Extension 9.0.0 821 Tuesday, September 21, 2021 Approved
Prettier Code Formatter VSCode Extension 8.1.0 558 Tuesday, July 27, 2021 Approved
Prettier Code Formatter VSCode Extension 8.0.1 452 Thursday, June 24, 2021 Approved
Prettier Code Formatter VSCode Extension 7.1.1 221 Tuesday, June 22, 2021 Approved
Prettier Code Formatter VSCode Extension 6.4.0 581 Tuesday, May 11, 2021 Approved
Prettier Code Formatter VSCode Extension 6.3.2 485 Tuesday, April 6, 2021 Approved
Prettier Code Formatter VSCode Extension 6.3.1 391 Wednesday, March 17, 2021 Approved
Prettier Code Formatter VSCode Extension 6.2.0 201 Monday, March 15, 2021 Approved
Prettier Code Formatter VSCode Extension 5.9.2 448 Friday, February 12, 2021 Approved
Prettier Code Formatter VSCode Extension 5.9.1 318 Friday, February 5, 2021 Approved
Prettier Code Formatter VSCode Extension 5.8.0 610 Saturday, November 21, 2020 Approved
Prettier Code Formatter VSCode Extension 5.7.2 281 Thursday, November 12, 2020 Approved
Prettier Code Formatter VSCode Extension 5.7.1 323 Friday, September 25, 2020 Approved
Prettier Code Formatter VSCode Extension 5.6.0 206 Thursday, September 10, 2020 Approved
Prettier Code Formatter VSCode Extension 5.5.0 201 Friday, August 28, 2020 Approved
Prettier Code Formatter VSCode Extension 5.3.0 138 Thursday, August 27, 2020 Approved
Prettier Code Formatter VSCode Extension 5.2.1 145 Tuesday, August 25, 2020 Approved
Prettier Code Formatter VSCode Extension 5.1.3 425 Friday, July 3, 2020 Approved
Prettier Code Formatter VSCode Extension 5.1.2 159 Thursday, July 2, 2020 Approved
Prettier Code Formatter VSCode Extension 5.1.1 140 Wednesday, July 1, 2020 Approved
Prettier Code Formatter VSCode Extension 5.1.0 171 Saturday, June 20, 2020 Approved
Prettier Code Formatter VSCode Extension 5.0.1 109 Saturday, June 20, 2020 Approved
Prettier Code Formatter VSCode Extension 5.0.0 219 Wednesday, June 3, 2020 Approved
Prettier Code Formatter VSCode Extension 4.7.0 215 Thursday, May 14, 2020 Approved
Prettier Code Formatter VSCode Extension 4.6.0 171 Sunday, May 10, 2020 Approved
Prettier Code Formatter VSCode Extension 4.5.0 223 Thursday, April 23, 2020 Approved
Prettier Code Formatter VSCode Extension 4.4.0 203 Thursday, April 16, 2020 Approved
Prettier Code Formatter VSCode Extension 4.3.0 150 Tuesday, April 14, 2020 Approved
Prettier Code Formatter VSCode Extension 4.2.0 151 Friday, April 10, 2020 Approved
Prettier Code Formatter VSCode Extension 4.1.1 161 Tuesday, April 7, 2020 Approved
Prettier Code Formatter VSCode Extension 4.0.0 150 Saturday, April 4, 2020 Approved
Prettier Code Formatter VSCode Extension 3.20.0 325 Wednesday, January 29, 2020 Approved
Prettier Code Formatter VSCode Extension 3.19.0 132 Wednesday, January 29, 2020 Approved
Prettier Code Formatter VSCode Extension 3.18.0 223 Monday, December 23, 2019 Approved
Prettier Code Formatter VSCode Extension 3.17.0 184 Friday, December 20, 2019 Approved
Prettier Code Formatter VSCode Extension 3.16.1 167 Wednesday, December 18, 2019 Approved
Prettier Code Formatter VSCode Extension 3.16.0 162 Wednesday, December 18, 2019 Approved
Prettier Code Formatter VSCode Extension 3.15.0 137 Wednesday, December 18, 2019 Approved
Prettier Code Formatter VSCode Extension 3.14.0 157 Monday, December 16, 2019 Approved
Prettier Code Formatter VSCode Extension 3.13.0 139 Sunday, December 15, 2019 Approved
Prettier Code Formatter VSCode Extension 3.12.0 158 Sunday, December 15, 2019 Approved
Prettier Code Formatter VSCode Extension 3.11.0 175 Wednesday, December 4, 2019 Approved
Prettier Code Formatter VSCode Extension 3.10.0 201 Wednesday, December 4, 2019 Approved
Prettier Code Formatter VSCode Extension 3.9.0 133 Wednesday, December 4, 2019 Approved
Prettier Code Formatter VSCode Extension 3.8.0 133 Wednesday, December 4, 2019 Approved
Prettier Code Formatter VSCode Extension 3.7.0 222 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