My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2579: Improve code search
4 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by serv...@google.com, Apr 1, 2014
Surprisingly, I haven't found any feature requests for better code search. I'm relatively new to Google and Gerrit, so if such features already exists, please let me know. I'd love to be able to search for arbitrary strings and regexps in the whole code review. Similar to what / currently does, only / searches only a single file as far as I can tell. When there are many files being changed and I'm new to the code base and have no idea which files have touched what parts of code, I have to go to each file and do a separate / search there. Would be nice to have a command that would allow me to search all changed files simultaneously. I think ideally it would be two different commands - one would search for a string/regexp in all changed lines/diff chunks of the given review, and another one would search for a string/regexp in all files changed in the given review (i.e. unlike the first one it would find the given string/regexp even if it's found in the unchanged part of some changed file).
Dec 11, 2015
#1 mitch.ku...@gmail.com
YES PLEASE !!!!
Trying to review a change where m any files were changed. I see a variable mentioned in one file and I want to see where it is used in the other files of the change, and all I can do is click one file at a time and search. YIKES !

An 'all files in change' search would be great, or better still, a click on a term and search all files for that term.  Please !
Jan 6 (4 days ago)
#2 kram4...@gmail.com
Yup, this is a good one, I was surprised a basic review feature like this was missing.
Sign in to add a comment

Powered by Google Project Hosting