Downloads:

398

Downloads of v 1.5.0:

398

Last Update:

10 Dec 2019

Package Maintainer(s):

Software Author(s):

  • HookyQR

Tags:

formatter javascript JSON CSS Sass HTML vscode beautify

Beautify VSCode Extension

1.5.0 | Updated: 10 Dec 2019

Downloads:

398

Downloads of v 1.5.0:

398

Maintainer(s):

Software Author(s):

  • HookyQR

Beautify VSCode Extension 1.5.0

This Package Contains an Exempted Check

1 Test Passing and 1 Exempted Test


Validation Testing Passed


Verification Testing Exempt:

Requires VS Code install

To install Beautify VSCode Extension, run the following command from the command line or from PowerShell:

>

To upgrade Beautify VSCode Extension, run the following command from the command line or from PowerShell:

>

To uninstall Beautify VSCode Extension, run the following command from the command line or from PowerShell:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade vscode-beautify -y --source="'STEP 3 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-beautify -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure vscode-beautify installed
  win_chocolatey:
    name: vscode-beautify
    state: present
    version: 1.5.0
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'vscode-beautify' do
  action    :install
  version  '1.5.0'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: vscode-beautify,
    Version: 1.5.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller vscode-beautify
{
   Name     = 'vscode-beautify'
   Ensure   = 'Present'
   Version  = '1.5.0'
   Source   = 'STEP 3 URL'
}

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


package { 'vscode-beautify':
  provider => 'chocolatey',
  ensure   => '1.5.0',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install vscode-beautify version="1.5.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator flcdrg on 26 Dec 2019.

Description

Beautify javascript, JSON, CSS, Sass, and HTML in Visual Studio Code.

VS Code uses js-beautify internally, but it lacks the ability to modify the style you wish to use. This extension enables running js-beautify in VS Code, AND honouring any .jsbeautifyrc file in the open file's path tree to load your code styling. Run with F1 Beautify (to beautify a selection) or F1 Beautify file.

screenshot

Notes

  • This package requires Visual Studio Code 1.22.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
The MIT License (MIT)

Copyright (c) 2016 HookyQR

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=HookyQR.beautify

and download the extension HookyQR.beautify-1.5.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/HookyQR/vsextensions/beautify/1.5.0/vspackage

2. The extension can be validated by comparing checksums
  - Use powershell function 'Get-Filehash' - Get-Filehash HookyQR.beautify-1.5.0.vsix
  - Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f HookyQR.beautify-1.5.0.vsix

  Type:     sha256
  Checksum: B1480742DBC8369AA10F348D7D27C589E6D9BD7D00E62E5255903FDEB67213B0

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

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

Install-VsCodeExtension -extensionId "$toolsDir\HookyQR.beautify-1.5.0.vsix"
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'

Uninstall-VsCodeExtension -extensionId 'HookyQR.beautify'
tools\HookyQR.beautify-1.5.0.vsix
md5: 997A3F39CA295153471F108F656C25C5 | sha1: AB69E611BC710CBE98C32687E5BD578340C6091C | sha256: B1480742DBC8369AA10F348D7D27C589E6D9BD7D00E62E5255903FDEB67213B0 | sha512: 5139E28D407876715D6D6EF239873AF357B75A2586F31D18C3503B8B563864F468ADDAFF09B2ED1C79917BB99BDB223A5CF526FBDD7C1E05EB00476898052CA8

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.

Version Downloads Last Updated Status
Discussion for the Beautify VSCode Extension Package

Ground Rules:

  • This discussion is only about Beautify VSCode Extension and the Beautify 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 Beautify 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