4 ms·
That still sounds like more work than the way I do the same process in Visual Studio, which uses the AST or something around that level to search the code inste
by jimmaswell 12y ago
That still sounds like more work than the way I do the same process in Visual Studio, which uses the AST or something around that level to search the code instead of just a text search, so it doesn't find irrelevant results. I guess it depends on your environment.
It is better when it's specified exactly what exceptions can be thrown by a method, yes. One of the only things I prefer in Java over C#.
- vardump 12y agoIf only Visual Studio/C++ used AST! At least in Visual Studio 2012/C++, context sensitive search doesn't often work at all. Try to get context for something common like ".create". You get a lot of non-context hits, even thousands. Maybe I'm doing something wrong? Maybe this doesn't happen in VS2013? In most other IDEs context sensitivity is better, but I still fall back to command line in Linux. It's just so much faster (for me). I get what I want in about 0.1 to 3 seconds and can easily search near (grep -A and -B switches) these context hits with '/' in "less". Git grep is great too. Regardless, if it works for you, great. We should all use what works and disregard needless debate and politics.
- jimmaswell 12y agoI haven't used it for C++, only C# and VB.NET. It's integrated more with those, probably not with C++