Simple find capability not supported?
I'm frustrated by my inability to do something that seems like it should be quite simple. Suppose I'm in a header file and I want to search for an identifier. I press Ctrl-F3 and search through that header for all instances of that string (comments and code). Now I hit Alt-O to switch to the corresponding cpp file, and I want to search for the same string. I hit F3, but instead of searching for the string I just looked for in the header, I find that CLion has remembered some other search string I looked for a while ago in this cpp file. This is really frustrating!
How can I convince CLion to look for my most recent search, regardless of which file I want to search in? I don't ever want a per-file search string, since I look for things based on what I'm thinking about, not what file they appear in. Right now, I'm thinking about that identifier in the header, and don't care about some other search string that I looked up in the cpp file two days ago.
I've looked through the documentation and all the settings and can't find any way to control this. Suggestions?
请先登录再写评论。