GithubHelp home page GithubHelp logo

microsoft / poshtools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from killswitch1111/powerguivsx

137.0 65.0 18.0 10.11 MB

PowerShell integration for Visual Studio

Home Page: http://www.visualstudio.com/

License: Apache License 2.0

C# 95.72% PowerShell 4.27% Batchfile 0.01%

poshtools's Introduction

PowerShell Tools for Visual Studio

PowerShell integration for Visual Studio.

Build status of adamdriscoll/poshtools:
Build status of microsoft/poshtools: Build status (What's this?)

More information on Adam Driscoll's blog. To download the VSIX, please visit the Visual Studio Gallery.

PowerShell Tools for Visual Studio currently offers the following features.

Script Editor Enhancements

Syntax Highlighting with customizable fonts and colors

IntelliSense for variables, cmdlets and arguments

Project System

PowerShell Project Template

PowerShell MSBuild Project Options

Debugging

Breakpoint and Breakpoint Pane Support

Stepping

Locals Support

Call Stack Support

Data Tips

Testing

Pester Test Adapter

poshtools's People

Contributors

adamdriscoll avatar bmoore-msft avatar burtharris avatar ejizba avatar ericdevg avatar erwindevreugd avatar guitarrapc avatar heaths avatar huanhuansunmsft avatar jingloumsft avatar kfuglsang avatar lbergnehr avatar losethisurl avatar masaeedu avatar microsoft-github-policy-service[bot] avatar mrayermsft avatar necco-atsume avatar rogerbestmsft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

poshtools's Issues

PSVS execution with parameter with UI support

Partner is more looking for leveraging on PSVS to execute a PS script, however, only way to provide parameters for script to run is through REPL window(interactive window), which may not be desirable experience for partner.

Defining a custom prompt no longer works

function prompt { return "Custom Prompt > " }

Enter the above into either a script or the REPL Window. ISE and prior behavior run & define the prompt as specified. This is no longer the case.

Wcf channel broken and not able to auto recover after unhanded exception thrown on server

System.ServiceModel.ProtocolException

"This channel can no longer be used to send messages as the output session was auto-closed due to a server-initiated shutdown. Either disable auto-close by setting the DispatchRuntime.AutomaticInputSessionShutdown to false, or consider modifying the shutdown protocol with the remote server."

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.PrepareCall(ProxyOperationRuntime operation, Boolean oneway, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at PowerShellTools.Common.ServiceManagement.DebuggingContract.IPowershellDebuggingService.SetRunspace(Boolean overrideExecutionPolicy)
at PowerShellTools.DebugEngine.Engine.Execute() in c:\Users\zhiyd\Documents\GitHub\outproc_dbg_local\poshtools\PowerShellTools\DebugEngine\Engine.cs:line 114
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()

PSEdit functionality

We need to implement the PSEdit functionality for remote script file downloading and rendering within the Visual Studio editor.

Test Issue

Please Ignore

  • test
  • test
  • test2

Do the thing!

  • More test
  • Hello World

header

  • Implement This Interface
  • Implement That Interface

Update contents of Project/SharedProject

We should update the contents of Project/SharedProject with more recent code from NTVS/PTVS's SharedProject, to absorb any/all of their recent fixes.

We will need to be cognizant about the risk of regression on #92 but at the moment, there aren't any other known diversions.

Connect with VS Debugger

Wire the events to VS Debugger events properly so that VS can behave accordingly during debugging.

Execute mode(ctrl+F5) with proper UI(e.g: run and stop) for script to run

There is a stop button on REPL window, which is designed for stopping existing execution of script from REPL. For people who is trying to execute script from the UI, that button does not help. We need either invent an "execution mode(like ctrl+F5)" which introduce some UI for run and stop button in VS, or we run everything over "debugging mode"(just without BPs). Powershell ISE has very vague border line between debug and run script.

New colors are not readable in dark theme

Our colors aren't affected by theme. Because the colors are editable in the properties, but don't have a theme defined, this should be fairly simple to fix and add to the theming.

Control of out-of-proc PS

We need to have total control over the out-proc and figure out how Out-proc can load the necessary assemblies so that we can get the Intellisense completion list.

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.