I work on a rather large C++ project. One of the more frustrating aspects of its organization is very large functions placed inside ridiculously large files.I often want to search for any instance of a particular global variable or function call, restricted to the current function. Is there a reasonably simple formula for accomplishing this?(I do have ctags installed and use Tagbar... which might be helpful for this)
Quick search, limited to a C++ function
search;filetype c++