David ShepherdDavid Shepherd

My feedback

  1. 217 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      7 comments  ·  Visual Studio IDE » IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →
      David ShepherdDavid Shepherd commented  · 
      David ShepherdDavid Shepherd commented  · 

      Evidence in favor of having a proper source code search in Visual Studio:

      IDEs:
      * Sando Code Search (Visual Studio Extension): 11,850 downloads
      * Instasearch (Eclipse IDE Plugin): 18,226 downloads

      Online:
      * GitHub uses Elastic Search (i.e., Lucene) to implement indexed search over projects
      * Visual Studio Online uses Elastic Search (i.e., Lucene) to implement indexed search over projects (note: still in beta stage)

      David ShepherdDavid Shepherd commented  · 

      > What you're asking for is a product I believe is outside the scope of Visual Studio.

      You bring up great points Dean, and I've gone back and forth on whether to use a desktop search solution instead. However, there are a few key shortcomings of desktop search that make it awkward for code search. For instance, desktop search returns results as complete files, instead of as individual methods or classes. If I'm searching for the method "open" in the class "file" I don't care about all of the other methods in the "file" class. Using a websearch analogy, that's like returning an entire website instead of a single page. Thus, I think a code-focused search tool makes sense, and should be in the IDE.

      David ShepherdDavid Shepherd supported this idea  · 
      David ShepherdDavid Shepherd commented  · 

      As further evidence of the importance of this feature there are a lot of search extensions popping up on Visual Studio Gallery.

      Sando Code Search Tool - http://visualstudiogallery.msdn.microsoft.com/06f39a31-20ce-408c-afee-8a02b484db1c
      Entrian Code Search - http://visualstudiogallery.msdn.microsoft.com/e39a6996-ea46-459a-9f1e-9629547868bc
      NavigateToAll - http://visualstudiogallery.msdn.microsoft.com/bdbc361a-ee69-4ba3-83ff-ab2e8122ff47

      David ShepherdDavid Shepherd shared this idea  · 

    Feedback and Knowledge Base