Is there an Emacs tool that show the dependencies for every file from a project?
I have undeclared errors at an Emacs project. If the variable or the function/macro into file is not declare yet, Emacs stops file loading and throw error. Is there a project checker that gives me for every file next information? For example:
File X
A) Declared variables: var1, var2, ...
B) Declared functions: fun1, fun2,
C) References for variables declared into other files: This file contains var-ext1 declared into file1, var-ext2 declared into file1.
D) Calling of functions declared into other files: This file contains next function callings fun-ext1 declared into file1, fun-ext2 declared into file2,
E) File dependencies:file1, file2, ...
So having this data is easier to arrange require statements into project files to avoid errors about undeclared variables and functions. It is better to put (defvar var) and (declare fun file) declaration for every project variable and function at the project entry point to avoid that types of errors at loading/compiling files. Will the files be loaded completely then? Is it a good practice?
load-history; C, D fromEMACS_GENERATE_DYNVARS,byte-compile-generate-call-tree, and perhaps Emacs 31 semantic highlighting and github.com/epfl-systemf/dvar-track