Giter Site home page Giter Site logo

bobfrankly / vscode-powershell Goto Github PK

View Code? Open in Web Editor NEW

This project forked from powershell/vscode-powershell

0.0 2.0 0.0 470 KB

Provides PowerShell language and debugging support for Visual Studio Code

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

License: Other

PowerShell 7.50% TypeScript 92.50%

vscode-powershell's Introduction

PowerShell Language Support for Visual Studio Code

Join the chat at https://gitter.im/PowerShell/vscode-powershell

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.

Platform support

  • Windows 7 through 10 with PowerShell v3 and higher
  • Linux with PowerShell v6 (all PowerShell-supported distribtions)
  • macOS and OS X with PowerShell v6

Read the installation instructions to get more details on how to use the extension on these platforms.

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!

Example Scripts

There are some example scripts in the extension's examples folder that you can use to discover PowerShell editing and debugging functionality. Please check out the included README.md file to learn more about how to use them.

This folder can be found at the following path:

c:\Users\<yourusername>\.vscode\extensions\ms-vscode.PowerShell-<version>\examples

To open/view the extension's examples in Visual Studio Code, run the following from your PowerShell command prompt:

code (Get-ChildItem $Home\.vscode\extensions\ms-vscode.PowerShell-*\examples)[-1]

Reporting Problems

If you're having trouble with the PowerShell extension, please follow these instructions to file an issue on our GitHub repository:

1. File an issue on our Issues Page

Make sure to fill in the information that is requested in the issue template as it will help us investigate the problem more quickly.

2. Capture verbose logs and send them to us

If you're having an issue with crashing or other erratic behavior, add the following line to your User Settings in Visual Studio Code:

    "powershell.developer.editorServicesLogLevel": "Verbose"

Restart Visual Studio Code and try to reproduce the problem. Once you are done with that, zip up the logs in the corresponding folder for your operating system:

  • Windows: $HOME\.vscode\extensions\ms-vscode.PowerShell-<CURRENT VERSION>\logs
  • Linux and macOS: ~/.vscode/extensions/ms-vscode.PowerShell-<CURRENT VERSION>/logs

You have two options for sending us the logs:

  1. If you are editing scripts that contain sensitive information (intellectual property, deployment or administrative information, etc), e-mail the logs directly to daviwil [at] microsoft.com

  2. If you are editing scripts that don't contain sensitive information, you can drag and drop your logs ZIP file into the GitHub issue that you are creating.

Contributing to the Code

Check out the development documentation for more details on how to contribute to this extension!

Maintainers

License

This extension is licensed under the MIT License. Please see the [third-party notices](Third Party Notices.txt) file for details on the third-party binaries that we include with releases of this project.

vscode-powershell's People

Contributors

daviwil avatar rkeithhill avatar dfinke avatar janegilring avatar pcgeek86 avatar isidorn avatar aspenforester avatar mad-mike avatar aeschli avatar mswietlicki avatar adbertram avatar bcdady avatar randomchance avatar morlassino avatar mklement0 avatar arebee avatar vors avatar cielavenir avatar gitter-badger avatar mgreenegit avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.