3 ms·
What are your favorite tools for doing this in C/C++ (which are extremely statically typed, if not very strongly typed)? I think the best thing I've found for
by geofft 9y ago
What are your favorite tools for doing this in C/C++ (which are extremely statically typed, if not very strongly typed)?
I think the best thing I've found for this personally is coccigrep, which works but I've only used it a couple of times. I'd like something I'd reach for about as often as I reach for grep. (Also I think these days you'd want it to be based on clang or something.)
One thing that does seem to be true is that the requirement to name types means that a textual grep is way more reliable than it is in C. If I want to find all places where a Python class is used in a large codebase, I might as well give up.
- bpicolo 9y agoI imagine CLion is a popular answer here: https://www.jetbrains.com/clion/ https://www.jetbrains.com/clion/
- geofft 9y agoOooh, I've heard of people using it but for some reason I just thought it was an editor. I'll have to give it a try.
- stagger87 9y agoQtCreator
- jcelerier 9y agoHere are the refactorings available : http://doc.qt.io/qtcreator/creator-editor-refactoring.html http://doc.qt.io/qtcreator/creator-editor-refactoring.html Also they are backed by Clang and muuuuuuuuuuuch faster than in Visual Studio + whatever paid extension A very nice feature it has and that I didn't see elsewhere is the optional case-sensitive renaming. eg renaming Foo to Bar will also change foo to bar and FoO to BaR.