Search your C, C++, and C# Solutions using the latest advances in code search research. Sando provides a great replacement for Find in Files and even the Open Type Dialog. It leverages Lucene.NET to allow users perform a Google-like search over their source code.
Normal Search gives you all the references but again it is tedious to go to the relevant section of the code . Sando Search has provided some filters to filter by Element Type (Class,Methods etc. !!!) which will help me in reducing my search time.
During Code Inspection it helps me a lot as it gives me a code snippet where i can do my reviews without even going to the code files
Each time you change the filter you need to Click on the search Button which can be improved ...!!! search can begin after i apply the filter.
Thanks for the review F2dk! My colleagues that have put lots of sweat and tears into this plugin are especially thankful ;)
I agree, this may not replace existing searches (everyone still has the occasion that they need the regex-based search of Find-in-Files). I find this plugin to be most useful when working with slightly unfamiliar code (e.g., someone else's project, someone else's sub-component, or really old code) because I can just type out some general search terms (e.g., "open file", "monitor solution", or "show results") and I usually get pretty good search results.
-simple regex crashes visual studio -character classes regex does not work -fuzzy search does not work -search results expand in different direction - a weir UI experience -please make search results explicit, if nothing is found, it should be stated that nothing was found, otherwise I'm not sure if the search ran at all
PS: But it is a great idea, it will be very useful for the people who do not use add-ins like re-sharper, it just needs a little polish! Thanks!
Thanks for being an early reviewer! Would you mind downloading the latest Sando and providing an updated review? Sando has improved greatly since you last used it, with the 0.3 version just being released and we would *really* appreciate an updated review. Thanks for using Sando!
If you stick to searching for *whole words only* it works great. Anything else you might get nothing (where the normal search would have worked) or it crashes visual studio. Will probably be very good after a few version updates.
Thanks again for being an early adopter of Sando! We have just released 0.3, fixing lots of issues. Would you mind downloading the latest and updating your review? We would be really grateful if you would. Note that if you want to search for partial words just add an '*' at the end of your query (a new feature).
Would you mind updating your review, as we have just released a new version of Sando that is much improved. Sando still only works for C#, C, and C++, but I fear that this low rating is stopping other users that do use these languages from trying this free, open source software. Thanks for considering helping us!
This would be hugely useful if it was possible to add additional local directories to search for code, and perhaps show in a separate results list. There are no really good tools for searching a local machine for usages of a symbol, and lucene would be perfectly suited to the task.
I'd be interested in helping make this happen, as it would make my life hugely better.
Also, the labels and box backgrounds don't work well with the 2012 dark theme - might need to style them differently based on the theme selected.
We'd be happy to work with you to create this feature. There will be some challenges because we currently use Visual Studio's file events to keep our index up-to-date, but we could likely find a workaround. Feel free to start a discussion on http://sando.codeplex.com if you want to collaboratively sketch out a solution.
> Also, the labels and box backgrounds don't work well with the 2012 dark theme - might need to style them differently based on the theme selected.
Yes, we're aware of this annoyance (sorry!), but haven't had the resources to fix it yet. We'll be getting more help this summer on the project so you can expect this issue to be fixed in early summer at the latest.
Yes, we are working on this. It is almost done, and a working version can be downloaded here: http://sando.codeplex.com/releases/view/97069
The only *known* issues with this *pre-release* is that the "expand" button on the right needs to be styled properly. Let me know if you find any problems with it, as we are still in the testing stages.... full release VS2012 in next two weeks or so.
I believe this is the same issue, or caused by the same problematic code as this: http://sando.codeplex.com/workitem/91
I'm on vacation this week but hope to look into this next week. Thanks for reporting this problem! I'm really glad that you're still using Sando, let me know if we can fix anything else. FYI, we pushed out an update last week (0.2) which you can get by hitting update in the extension manager (i.e., Tools > Extension Manager).
Sando v0.23 now only automatically shows the Sando View one time. So, it will show Sando once, when you open a solution after installing it, and then it should not reopen it (assuming normal usage). See http://sando.codeplex.com/workitem/91 for details.
If, for example, I search for "Mouse" or "Capture" it finds the line "Mouse.Capture(this)", however if I search for "Mouse.Capture" it finds jack all.
If I search for "Capture(" visual studio crashes hard.
Version .1 for sure. I think you'll have something great at version 1.0.
Thanks for this report! I bet we can fix this quickly. I will update you when a fix is out (probably next week due to vacations). Thanks again for the report, that really helps!
No, you don't need to install anything else. If you are working on an open source project let me know which one it is and I'll test it for you. If it is a private project here's a few things you can look into:
* Does Sando tell you "Sando is still indexing..." when you search? If so, Sando is still indexing the source code and may not return results until it is done.
* Are you searching for a complete word or just a part of a word? Sando only handles complete word queries (e.g., "file", "find", etc.) and can't handle partial words yet (e.g., "fil" or "fin" will fail).
* Is there anything else special about your C# files? If you can, send me one of your C# files for testing and I'll see if I can get Sando to parse and search it.
Let me know if any of this helps!
I think it must have been the particular solution I was working with because it is working for others. I am uncertain of the replication steps, however with the solution I first tried Sando the projects failed to load (project paths had changed), and I had to re-add them from their correct paths.