Search code examples
c++cheader-fileseclipse-cdt

Eclipse CDT - shortcut to know which all files include a header file?


I have a big project. I want to find which all .cpp/.h files include file1.h in them. Is there any shortcut key in Eclipse CDT to do this?


Solution

  • I'd suggest the Include Browser view. You can drag a file in there and you get a nice tree which shows all files that include your file, including indirect includes.