Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
I'm using Doxygen to help me figure out some library code. There's an enum I know I need to use, but I don't know which file it's declared in. Searching for that identifier in Doxygen yields the p...
Question
doxygen
#1: Initial revision
List what file(s) an identifier was declared in?
I'm using Doxygen to help me figure out some library code. There's an `enum` I know I need to use, but I don't know which file it's declared in. Searching for that identifier in Doxygen yields the page for the whole namespace in which it is declared. If I click on it in the summary at the top of the page, to go to the detailed info, I get only the signature and table of what's in the `enum`. ![Doxygen entry for an enum](https://software.codidact.com/uploads/U7bCcHtLocMNWqBx2pdREANF) Is there any way to make it also show which file(s) the `enum` was declared in? For classes that have their own page, there is indeed text at the bottom saying "The documentation for this class was generated from the following files:" and then a list of the relevant files, and that's very useful. `enum`s and the like do not get their own page, however. In this case I'll probably end up just using a tool like `grep` to find it, but if anyone knows a way to get this info to show up in the Doxygen output that would be super helpful.