Related symbol - Looking for associates files
Hi,
This has been happening enough recently that it is getting annoying. I use the Navigate/Related Symbol shortcut (ctrl+alt+home) to toggle between the .h and .cpp files. Sometimes, mostly when performing changes in the header file, when I use the shortcut instead of switching I get a popup "Looking for associated files..." and this takes a while to operate (> 15 seconds, so I always end up pressing cancel and open the file manually).
Now I suppose the feature would let me switch between the implementation of a class in the .cpp and the declaration in a .h that would be in a completely different file but that's not my case at all. I just want a FAST shortcut to switch between a .cpp/h with the same basename, there should never be any searching involved to switch between a .h and .cpp file (even more so when both are already opened).
If there is already a setting for this I haven't found it.
Regards
Marc
Please sign in to leave a comment.
Hi Marc-Andre. Unfortunately there is only `Navigate/Related Symbol` functionality. As W/A you can use "Go to file" shortcut (ctrl+shift+O), but it's not what you want. Please follow https://youtrack.jetbrains.com/issue/CPP-12920. Feel free to comment your opinion and attach CPU snapshot so we could investigate the issue.