Questions tagged [powercommands]

PowerCommands is a plugin for Visual Studio that adds miscellaneous commands to the IDE.

PowerCommands is a plugin for Visual Studio 2010 . It is provided as an extra by Microsoft. It makes a number of extra commands available, including:

  • Undo close
  • Automatic whitespace formatting on save
  • Insert GUID attribute
  • Several project manipulation commands (show hidden files, collapse, unload, reload)
  • Copy-paste classes and references
  • Clear recent file or project list
13 questions
71
votes
1 answer

Using Directives Sorted in Wrong Order

I'm using the Power Commands extension with Visual Studio 2012. I have the option checked to remove and sort usings on save. The problem is that the System.Xxx directives are being sorted last, and that's causing a style analysis error: SA1208:…
Bob Horn
  • 33,387
  • 34
  • 113
  • 219
21
votes
5 answers

PowerCommands for Visual Studio 2012?

I see that PowerCommands for Visual Studio 2010 supports visual studio 2012, but it was last updated in Aug 2010. Is there a new "PowerCommands for Visual Studio 2012" or is there a viable replacement?
Francois Nel
  • 1,662
  • 2
  • 19
  • 29
19
votes
4 answers

How to get project wide Remove and Sort Usings for Visual Studio 2010?

We had the Power Commands for Visual Studio 2008 that add a context menu command that Removed Unused Usings and Sorted Usings for all files in a project/solution. How to do the same in VS2010 since this plugin is incompatible?
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
18
votes
8 answers

What causes Visual Studio 2008 SP1 to crash when switch to Design View of a WPF application

After developing a WPF application without Source Control, I decided to add the solution to TFS. After doing so whenever I opened the main window.xaml file in Design View Visual Studio would disappear and the following event would be logged in the…
Jason Stevenson
  • 4,004
  • 3
  • 29
  • 49
9
votes
1 answer

Visual Studio 2008 Hide the Undo Close window

All of a sudden, my Visual Studio 2008 Pro install is doing something very annoying (I know, hard to believe, right?) For any existing project I load, the Undo Close window opens as a floating window. Even if I close the window and save the SLN, it…
E. Rodriguez
  • 717
  • 2
  • 6
  • 17
3
votes
1 answer

Using powercfg to duplicate the currently active power scheme

I need to run a batch file, with a series of powercfg commands to duplicate the currently active scheme and rename it. Manually, I would do something like this at the command prompt. powercfg -getactivescheme This would give me the GUID of…
Sameet
  • 2,191
  • 7
  • 28
  • 55
3
votes
0 answers

Prevent PowerCommands from removing System.Linq when removing and sorting usings

I use PowerCommands for Visual Studio 2010 http://visualstudiogallery.msdn.microsoft.com/e5f41ad9-4edc-4912-bca3-91147db95b99. One feature which I like is the remove and sort using statements on save feature. However it's also slightly irritating…
magritte
  • 7,396
  • 10
  • 59
  • 79
2
votes
2 answers

Where can I find PowerCommands for VS2008?

I am using VS2008 at work with no plans to upgrade in the near future. I sorely miss the features of PowerCommands that I have for VS2010+. Here is the gallery but it references the archive. All of the old links point me to…
2
votes
2 answers

Format on save Eclipse

There was an add-on called Power Commands (Now productivity power tools) in visual studio to format the code on save. I was so used to see my code format on save that I cannot change that habit. Is there a way to do that in Eclipse? I can only…
phadaphunk
  • 12,785
  • 15
  • 73
  • 107
1
vote
0 answers

Power Commands for Visual Studio 2017 doesn't format XAML?

I couldn't find any documentation on this but I use Power Commands for Visual Studio with the Power Commands to format my document when I save. And I really love this tool. But for some reason it won't format XAML code. Even though I can format XAML…
Marijke
  • 153
  • 3
  • 14
0
votes
1 answer

Visual Studio 2010 PowerCommands extension missing in options dialog

I downloaded and installed the PowerCommands.vsix extension for Visual Studio 2010. But then, under Tools->Options there is no entry for the extension. Visual Studio says that it is correctly installed in the Extension Manager. Do you know where to…
Juergen
  • 3,489
  • 6
  • 35
  • 59
0
votes
1 answer

dsacls - Invalid DN Syntax in powershell

I am trying to modify the servicePrincipalName permission within powershell script using the 'dsacls' command. I am taking all the dynamic parameter as script arguments. The script is not working when I form a command with the arguments variable I…
ExploringApple
  • 1,348
  • 2
  • 17
  • 30
0
votes
2 answers

Visual Studio dotnet core copy and paste references

I've known about copy/paste references in Visual Studio since 2010/2012. Has this been updated to work with Core 2? Here's the SO Question asking about the old style references (before Core, and before the reboot of csproj format): Is it possible…
yzorg
  • 4,224
  • 3
  • 39
  • 57