May I ask more about your codebase, like the languages and frameworks that you're using?
May I ask more about your codebase, like the languages and frameworks that you're using?
This will create a graph from destination to source, then flipping the direction will help to traverse from top to down.
I get lost on the problem, I made sure I'll not use computer science concept to solve this problem.
to be simple,
For each identifier in the code base, trace its source. For each trace, sort it in order of code execution. For example, in case of javascript this is simple problem because there is no concurrancy.
I'm trying to solve this to create a code base refactoring tool, and one step further to automatically watch the code refactor itself. Initially I thought it was cool, but I couldnt take a step or two.
I skimmed some LSP extensions (Vue, TS), the codes are quite complex, but you only need to interact with those language servers, not re-implement them, so that's still possible
How would you imagine the auto generating feature help for your use cases? Is it for generating the Vue components dependencies?
Sometimes I have to work with large legacy code bases, e.g. in Android. There it would be very useful to generate diagrams. In Android Studio I ofen use "find usages" to traverse the code dependencies. That might be easier with diagrams.