Welcome to MSDN Blogs Sign in | Join | Help

Live Syntax Checking

Sapien PrimalScript's support for WIndows PowerShell continues to get better.  The latest addition is Live Syntax Checking.  This is particularly useful for people who are starting out with PowerShell which is basically everyone at this point.  Checkout their blog post:

http://sapien.eponym.com/blog/_archives/2006/10/14/2416634.html

It's also worth checking out the list of new features found in PrimalScript 4.1:

http://www.primalscript.com/psnextpreview.asp

It's pretty impressive stuff.

Jeffrey Snover [MSFT]
Windows PowerShell/MMC Architect
Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Published Saturday, October 14, 2006 9:07 PM by PowerShellTeam

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Live Syntax Checking

When are we going to see a Visual Studio IDE supporting PowerShell?

Monday, October 16, 2006 1:53 PM by Steve

# re: Live Syntax Checking

That's an interesting question. In discussions with MVPs, the consensus has been that Visual Studio support wasn’t critical for IT shops. In PowerShell V1, VS support just wasn’t a priority. Now, in looking at the community, more light-weight tools like what Sapien and what the other dynamic languages (Ruby with FreeRIDE or Python with Idle)  are doing seem to be the preferred solution. Comments?

-bruce

============================================

Bruce Payette [MSFT]

Tech Lead, Windows PowerShell

My book: http://manning.com/powershell

Monday, October 16, 2006 7:13 PM by Bruce Payette

# re: Live Syntax Checking

A lightweight Visual Studo integrated development environment would be best given that we use a mix of T-SQL, C#, PowerShell and ASP.NET.  We mix all of those components into an application (e.g., ASP.NET web front end, C# and PowerShell applications for server side processing and T-SQL for database operations).  We used to do more monolithic ASP applications but since have made our web GUI pages much much simpler due the overhead of maintaining about 100 complex web pages.  It would greatly help us to have even a simple Visual Studio IDE for PowerShell.

Wednesday, October 18, 2006 4:17 PM by Steve

# re: Live Syntax Checking

PrimalScript Enterprise supports all those file types. Why don't you go and check it out?

Alex Riedel

SAPIEN Technologies, Inc.

Thursday, October 19, 2006 2:23 AM by Alex Riedel

# re: Live Syntax Checking

Since I spend all day editing c# in visual studio using another editor to edit powershell scripts is a none starter. I just wish Powersell had better intergration esp with the debugger, help etc.

Droping out to the crude editing tools of a shell is baaaad (I used to use bash inside emacs). I want to be able to use a powerful scriptabe editor to hack powershell not f---- notepad!

Sunday, April 22, 2007 6:47 AM by David THompson

# re: Live Syntax Checking

I would much rather have my powershell integrated into my primary development tool. I do not want to add more applications into my workflow. I am already used to the VS workflow and that's what I'm looking for.

Tuesday, June 05, 2007 11:01 AM by Jesse

# re: Live Syntax Checking

I don't mind have a PowerShell console open in another window so much, but I do resent having a third window open for another editor. Of course, the only reason why I use a third editor is because that editor (TextPad) has rudimentary syntax highlighting for PowerShell scripts. VS has turned me into a wimp: if it ain't syntax highlighted, I don't want to use it.

Wednesday, July 25, 2007 10:32 AM by Damian Powell

# re: Live Syntax Checking

I would love to see PowerShell supported inside VS.  I generally keep the PowerShell command window open for generic admin tasks.  However, when I am designing a script, that just doesn't go.  

I've used the Powershell Analyzer to take care of that need.  It works well and I've been happy with it.  But, seeing that PowerShell is MS... I would think that VS would do a much better job.  

I will say that I fully suspect someone to make a PowerShell IDE out of the VS 2008 Shell that is coming out.  One can only hope, at least.

But, I am certainly surprised that you cannot add PowerShell in there (right now) as a scripting language just like VBS... with intellisense and all...

Thursday, September 06, 2007 7:28 PM by Jason mcGinnis

# re: Live Syntax Checking

I am a hobbyist and can't afford to purchase the Visual Studio Suite or Primal Script software.  I do not sell my software.

Can't something along the lines of the 'Visual Basic Editor' packaged inside EXCEL be made to work with PowerShell?

I would also like to start using PS as a replacement for all those office vb scripts.  I think this would be a logical starting place.

Fred J.

Friday, September 07, 2007 8:10 AM by Fred Jacobowitz

# re: Live Syntax Checking

I think VS integration is crucial for mass acceptance. We're looking at a replacement for VBA/WSH/BAT files and I was considering powershell, we're unlikely to buy another IDE so we really want eclipse or VS integration before we'll move.

Wednesday, December 19, 2007 1:21 PM by David Hayes

# re: Live Syntax Checking

This message is for Bruce Payette.  Bruce, I love your book, however, I do take an unhandled exception to your post about VS. I have been using the Visual Basic 6 editor for years to build VBScript projects because Visual Studio.NET and later insisted on removing the Set statement.  Anyway, the reason I used VB6 was mainly because of the automatic formatting and the Object Browser.  Because I am OCD, I like pretty code and VB6 does a decent job of making pretty code for me.

Now that PowerShell is out, I was extremely disappointed that VS 2008 did not have an add-in or support for PowerShell.  Imagine if it did. I could actually use Intellisense and even create simple WinForms apps in PowerShell with ease!  My code would look pretty too.  Did I mention OCD?

As an IT Admin for life I have coded in everything including 370 Assembly, JCL, CICS/COBOL, CLIST, DCL, FORTRAN, UNIX Shell Scripts, C++, C#, VBScript, and now PowerShell using some of the most primitive text editors available (like SPF and vi).  Now we admins finally get a superb scripting language that just about does it all (except the ability to create class libraries), yet we still can't use Visual Studio.

When will we ever be treated seriously?  I guess because we don't write device drivers, we truly are second class developers.

Oh well.  Maybe we can get a real editor with the next scripting language SuperShell.

Thursday, February 07, 2008 2:41 PM by Tom Holt

# re: Live Syntax Checking

yah! support from Eclipse for Powershell is very important!!

Friday, March 14, 2008 5:23 AM by nbb

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker