Tuesday, July 10, 2012

Code Searching with Sando, because "Code search sucks and Find & Replace is from the 80s..."

CodePlex - Sando: A Fast Local Code Search Engine with Open APIs

"Sando: A Fast Local Code Search Engine with Open APIs
Code search sucks. There's no auto-correct or suggestions and results are returned as an unranked, plain-text list. This VS Extension aims to make code search a modern tool by leveraging Lucene to index and search all languages and artifacts, returning results in a rich UI.

Sando in 8 slides...
Code Search Sucks


Top Ten Things that Suck about Code Search:

  1. Unranked results
  2. No suggestions
  3. No auto-correct
  4. No fuzzy matching
  5. No word stemming
  6. Results returned as plain-text
  7. Indexes keywords like "using"
  8. No preview in results
  9. Hard to refine results
  10. Regular expressions are fragile

..."

Visual Studio Gallery - Sando

Because Find & Replace is from the 80s

Code search sucks. It doesn't support google-style queries and results are returned as an unranked, plain-text list. This VS Extension aims to make code search a modern tool by leveraging Lucene to index and search all languages and artifacts, returning results in a rich UI.

Supported Languages: C#, C++, C

[demo] [source]

image

David C. Shepherd - Code Search in Visual Studio - Video Blog

Ever wonder what Sando's code search looked like in action? This brief video (less than three minutes) will give you a quick overview of Sando's abilities and its advantages over Visual Studio's built-in search.

I love the idea behind this, using a modern full text indexing and searching engine as a backdrop for code search... I also really love that David's released it as OSS.

No comments: