Compartilhar via


VS 2005 IDE Tips and Tricks

As some of you may know, I used to work in the Visual Studio IDE team before I joined the Ecosystem team. While I was there, I worked on various IDE features such as Visual Studio settings, Window Management, Command/Menus, Toolbox, Task List/Error List, Customer Experience Improvement program, etc. I gave a talk in the MVP Summit in Singapore in 2005 on VS 2005 IDE Tips and Tricks. After the conference, I converted much of the content into a technical paper.

 It's been over year, but this is finally published on MSDN. If you want to get some tips on how to be more productive with VS 2005, check it out.

 https://msdn2.microsoft.com/en-us/library/bb245788(VS.80).aspx

 Please let me know if this is useful or if you have any other feedback!

thanks,
James

Comments

  • Anonymous
    January 04, 2007
    Thanks for the link, and the article! I've been using VS for a while, but still found it useful - in particular, the section on custom snippets. Cheers!

  • Anonymous
    January 16, 2007
    When i create a Project using VS2005, by default a folder with the namespace gets created. for e.g. When i create a project with name Test.Test1.Test2.csproj and namespaceTest.Test1.Test2  under C:MyProjects A folder with name Test.Test1.Test2 gets created, How can i avoid this ? i want to create the project as C:MyProjectsTestTest.Test1.Test2.csproj Any pointers would be great.

  • Anonymous
    January 22, 2007
    James, do you have complete and functional version of that macro?

  • Anonymous
    January 22, 2007
    Hey Dragon, The macro got posted with missing code. The complete code is below: Public Module Module1    Public Sub ListShortcutsInHTML()        'Declare a StreamWriter        Dim sw As System.IO.StreamWriter        sw = New StreamWriter("c:\demo\Shortcuts.html")        'Write the beginning HTML        WriteHTMLStart(sw)        ' Add a row for each keyboard shortcut        For Each c As Command In DTE.Commands            If c.Name <> "" Then                Dim bindings As System.Array                bindings = CType(c.Bindings, System.Array)                For i As Integer = 0 To bindings.Length - 1                    sw.WriteLine("<tr>")                    sw.WriteLine("<td>" + c.Name + "</td>")                    sw.WriteLine("<td>" + bindings(i) + "</td>")                    sw.WriteLine("</tr>")                Next            End If        Next        'Write the end HTML        WriteHTMLEnd(sw)        'Flush and close the stream        sw.Flush()        sw.Close()    End Sub Public Sub WriteHTMLStart(ByVal sw As System.IO.StreamWriter)        sw.WriteLine("<html>")        sw.WriteLine("<head>")        sw.WriteLine("<title>")        sw.WriteLine("Visual Studio Keyboard Shortcuts")        sw.WriteLine("</title>")        sw.WriteLine("</head>")        sw.WriteLine("<body>")        sw.WriteLine("<h1>Visual Studio 2005 Keyboard Shortcuts</h1>")        sw.WriteLine("<font size=""2"" face=""Verdana"">")        sw.WriteLine("<table border=""1"">")        sw.WriteLine("<tr BGCOLOR=""#018FFF""><td align=""center""><b>Command</b></td><td align=""center""><b>Shortcut</b></td></tr>")    End Sub    Public Sub WriteHTMLEnd(ByVal sw As System.IO.StreamWriter)        sw.WriteLine("</table>")        sw.WriteLine("</font>")        sw.WriteLine("</body>")        sw.WriteLine("</html>")    End Sub End Module thanks, James

  • Anonymous
    January 22, 2007
    Thanks, James... I concluded that code is incomplete, but ... Thanks for complete macro!

  • Anonymous
    February 21, 2007
    The comment has been removed