Showing posts with label visual studio. Show all posts
Showing posts with label visual studio. Show all posts

Tuesday, October 5, 2010

Handy Visual Studio shortcuts

When I discover something nifty in Visual Studio, I'll post it here:
















ShortcutNameComment
Ctrl + .IntelisenseIf you've typed enough of a word that there's only one completion available, it'll finish it for you (or bring up a list of other possible completions)
Ctrl + ,Navigate ToSearch project (solution?) for member and function definitions


For now, more goodness here

Saturday, September 18, 2010

"Show All Files" crash work-around (Visual Studio 2010)

When I upgraded to Visual Studio 2010, I hit the following problem: after converting my old project to the new format, I made the mistake of clicking on "Show All Files". Once you've done this, it seems you can't go back -- any time I tried to deselect it, VS crashed.

Here's how I fixed it:

  1. Open up PowerShell in your project folder

  2. Run ls -rec | select-string Show

  3. Use your favorite text editor to set all references to "ShowAllFiles" to false



In my case, this ended up being [ProjectName].vcxproj.user, but do the Select-String search to be sure.