Bring PowerShell support to the editor
In 2005 there was VBScript support, and the general consensus is that PowerShell is the wave of the future for scripting. Why can't it be brought into VS as a supported language with IntelliSense? It seems like the wheel was reinvented when the PowerShell ISE was developed when it can also be done in VS.
10 comments
-
Kent Boogaart
commented
Think some peeps are misunderstanding, or perhaps I am. The point is not to allow the execution of a PS script as part of a build event, but to enable editing of PS scripts with full syntax highlighting/Intellisense/debugging et cetera. Currently one must download a separate tool to do this, and I completely agree that this should all be in VS. At worst, a separate flavor of VS.
-
Daver
commented
Yes, it needs to be fully supported in VS Studio like C#.
-
metadings
commented
Consider: Your current object browser view, or your current project bindings class view, interactive and scriptable...
-
metadings
commented
Visual Studio: Interactive PowerShell'ing IDE !
please bring back dimgray borders and white background !!!
-
tugberk
commented
You can still run powershell commands on Project Build Events. Here is how I do that:
powershell -file "$(SolutionDir)tools\pack.ps1" $(SolutionDir) $(ProjectPath)
But I agree that it would be great to have OOB support for this.
-
Anthony
commented
I don't even use this feature and still voted for it. Powershell should be everywhere. However, you could just put your powershell build script in your project (for quick editing), and set the pre/post build event to call that script (i.e. powershell.exe $(ProjectDir)\postbuild.ps1) right?
-
Jeremie Chassaing
commented
Sorry, my phone sent this one without my consent...
The point is to better integrate powershell as an automation mean in VS, to go further that what is possible today with the package manager console of NuGet.
Provide better console,
Add better automation than raw DTE com interface.
Use it more widely in the whole ide. -
Michael Paterson commented
I would totally vote for this too if I hadn't already used them all. Great idea.
-
@jeffpierson - I added a vote for you, just don't tell anyone ;-)
Doug Turnure
Visual Studio PM -
jeffpierson
commented
I would vote on this but all my votes are used up.