views:

3072

answers:

5

Has anyone found a plugin for Visual Studio to allow for PowerShell syntax highlighting or IntelliSense? If not, does anyone have any idea why not? I keep hoping someone else with copious free time would have tackled this by now. I have hope since other folks have managed to take the limited documentation and build custom IntelliSense providers for other languages such as NHaml.

Edit: To clarify,I'm not looking for a list of IDEs that can be used to develop PowerShell . I spend 90% of my day in Visual Studio. It already does a really good job of slicing and dicing code. That is the IDE I prefer to use to edit all text and code. The lack of PowerShell syntax highlighting now that I work with PowerShell scripts is down right painful.

+2  A: 

I have not seen anything about Visual Studio Intellisense for PowerShell scripts.

I recommend you to try some other tools like:

Look this screen cast:

CMS
A: 

Duplicate of Best IDE for Powershell?

Jay Bazuzi
Actually, I was asking specifically for a Visual Studio solution or a time frame for when a VS solution would show up. I am not interested in other IDEs
Brian Adams
A: 

Here's a useful one: PowerGUI VS Extension.

fatcat1111
That's a stub project. Some code is written and it does some intellisense on someone's machine. But it's not usable on others' machines. And an unusable solution isn't a solution at all.
stimpy77
I don't understand why this is marked as an answer. Anybody can put a placeholder page out on the internet and give it a name that looks like the answer, but if it doesn't do what it claims, it's not the answer.
stimpy77
Have you tried it? It works for me.
fatcat1111
+4  A: 

The recently released PowerGUI Visual Studio Extension adds PowerShell IntelliSense support to Visual Studio. While it depends on the (free) PowerGUI graphical user interface and script editor, reusing this editor component should be a sign of maturity rather than an impediment I'd hope. (See Kirk Munros PowerShell support in Visual Studio! blog post for an introduction.)

Being a 1.0 there are still some minor issues with the extension as such, but Adam Driscoll seems to be pretty active tackling these - the PowerShell syntax highlighting and IntelliSense support is working most excellent for me already!

Steffen Opel
It's a bit of a shame that it took this long, but, behold, PowerShell is being syntax highlighted within my Visual Studio 2010 IDE. Unfortunately, it lacks intellisense and it's black/color on white whereas my config has everything white/color on black. Better than just a solid foreground color, though.
stimpy77
A: 

The PowerConsole extension for VS2010 is very nice and looks promising. I am not sure though that it is suitable (or able) to edit scripts. It is worth to try in any case.

Roman Kuzmin