9 Comments

  • "Track active item in solution explorer" in Tools->Options->Environment->Projects and Solutions.

    I use it all the time.

  • Hi Roy, I think what you want for "Find this file/project in the solution explorer" can be easily get by using the Track Active Item in Solution Explorer.

  • Willy, Omer,

    Thanks, but that's not good enough. I have tracking turned on but it's quite buggy. Sometimes it hghlights theitem, but if you have really deep nesting hierarchies in the solution explorer, it just gives up and you're lost again..

    :(



    I'd be happy with even a simply macro that uses InputBox top search a project byname..

  • I'd like to make a VS.NET addin that allows CTRL+scrollwheel font resizing like in a web browser. Unfortunately, I can't seem to figure out how to hook into mouse events. Any pointers? (No pun intended)

  • Jim:

    Cool-Commands has that ability. Maybe the source code is available fot that.



    Ilan: Cool,1 I didn't notice that!

    Sadly, it still does not work. I guess my project nesting is just too complicated for some reason..

  • I actually created a macro to quickly switch on the 'track active item in solution explorer' and then switch it off again. I don't like using vs.net with it on all the time, but using the macro it let's me quickly find the file I'm working on.

  • Great tool, btw the VS has the ability to find the file in the solution explorer it's just disabled by default: tools->options->Projects and solutions->check track active item in the solution explorer

  • "Right clicking in a code file and choosing "build [current project name]""



    It's built into VS. Just Press Alt+B+U...

  • Maybe you can expand on this macro, same idea different search area:



    Sub GoogleSearch()

    Dim strUrl As String

    Dim selection As TextSelection = DTE.ActiveDocument.Selection()



    ' If user didn't select text,

    ' do nothing

    If selection.Text <> "" Then

    ' Google Search!

    strUrl = "www.google.com/search?q=" + selection.Text

    ' Navigate it!

    DTE.ExecuteCommand("View.URL", strUrl)



    End If

    End Sub



    After that you can assign a keyboard shortcut to this macro.



    (note on the side: I once made this for a colleague that kept asking annoying questions ;) )

Comments have been disabled for this content.