Notices: This section not yet converted to new layout. Download stats are rolling back out.

Visual Studio Code PowerShell Extension

2019.5.0

This package skips automatic verification:

Requires a version of Visual Studio Code which has not been added as a dependency as there are multiple version of VS Code that could be installed by the user.


This package was approved by moderator Pauby on 8/19/2019.

This extension provides rich PowerShell language support for Visual Studio Code.
Now you can write and debug PowerShell scripts using the excellent IDE-like interface that Visual Studio Code provides.

Features

  • Syntax highlighting
  • Code snippets
  • IntelliSense for cmdlets and more
  • Rule-based analysis provided by PowerShell Script Analyzer
  • Go to Definition of cmdlets and variables
  • Find References of cmdlets and variables
  • Document and workspace symbol discovery
  • Run selected selection of PowerShell code using F8
  • Launch online help for the symbol under the cursor using Ctrl+F1
  • Local script debugging and basic interactive console support!

Notes

  • This package requires Visual Studio Code 1.2.0 or newer.
    You can install either the vscode or vscode-insiders package.
  • The extension will be installed in any edition 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 how to disable auto-update.

To install Visual Studio Code PowerShell Extension, run the following command from the command line or from PowerShell:

C:\> choco install vscode-powershell

To upgrade Visual Studio Code PowerShell Extension, run the following command from the command line or from PowerShell:

C:\> choco upgrade vscode-powershell

Files

Hide
  • legal\LICENSE.txt Show
    PowerShell for Visual Studio Code
    
    Copyright (c) Microsoft Corporation
    
    All rights reserved.
    
    MIT License
    
    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 Show
    VERIFICATION
    Verification is intended to assist the Chocolatey moderators and community
    in verifying that this package's contents are trustworthy.
    
    The extension has been downloaded from GitHub and can be verified like this:
    
    1. Download the following extension: <https://github.com/PowerShell/vscode-powershell/releases/download/v2019.5.0/PowerShell-2019.5.0.vsix>
    2. You can use one of the following methods to obtain the checksum
      - Use powershell function 'Get-Filehash'
      - Use chocolatey utility 'checksum.exe'
    
      checksum type: sha256
      checksum: E25E8EDA84F103A7D1940250BD5817CD275F972AFC6DF32AA1169EEAD149A4FD
    
    File 'LICENSE.txt' is obtained from <https://github.com/PowerShell/vscode-powershell/blob/adca2cdd4aad34cd31ec550b4e5910686d500082/LICENSE.txt>
    
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    
    $extensionName = "PowerShell-"
    $extensionVersion = "2019.5.0"
    $extensionId = "$toolsDir\$extensionName$extensionVersion.vsix"
    
    Update-SessionEnvironment
    
    Install-VsCodeExtension -extensionId $extensionId
    
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    Update-SessionEnvironment
    
    Uninstall-VsCodeExtension -extensionId "ms-vscode.PowerShell"
    
  • tools\PowerShell-2019.5.0.vsix Show
    md5: 671C9370B19CE8AE23995CEF07F6BC2F | sha1: C8CDD1877E739FF55367DAD260D9D27D2FB8E89B | sha256: E25E8EDA84F103A7D1940250BD5817CD275F972AFC6DF32AA1169EEAD149A4FD | sha512: 4F3A843A8EAE04835E9DF7655345F0E97D16AF567C9D72E85B53F8CC50EA517CFAD7B4C3C4EAA1A0F50F57373CA5749D55AF94290CC87C5059C03056868C6A56

Virus Scan Results

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.

Dependencies

Package Maintainer(s)

Software Author(s)

  • Microsoft

Tags

Release Notes

https://marketplace.visualstudio.com/items/ms-vscode.PowerShell/changelog

Version History

Version Downloads Last updated Status
Visual Studio Code PowerShell Extension 1.0.0.20181011 11194 Friday, October 12, 2018 approved
Visual Studio Code PowerShell Extension 1.0.0.20180620 2419 Wednesday, June 20, 2018 approved
Visual Studio Code PowerShell Extension 1.0.0.20161116 35783 Wednesday, November 16, 2016 approved
Visual Studio Code PowerShell Extension 1.0.0 634 Friday, June 10, 2016 approved

Discussion for the Visual Studio Code PowerShell Extension Package

Ground rules:

  • This discussion is only about Visual Studio Code PowerShell Extension and the Visual Studio Code PowerShell 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 Visual Studio Code PowerShell 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
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok