Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve source root resolving for multi-module projects #77

Open
themkat opened this issue May 7, 2023 · 0 comments
Open

Improve source root resolving for multi-module projects #77

themkat opened this issue May 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@themkat
Copy link
Collaborator

themkat commented May 7, 2023

In #73 @fwcd mentioned some ideas for a more flexible submodule loading in the debug adapter.

The suggested solution would include querying Maven/Gradle for code structures, and use that to find the source roots. Currently, after #73, the source roots are searched for with a hardcoded depth of 2 directories. With a new solution, we would not have to make many assumptions about the users project structures.

Another hacky solution might also be a parameter for the debug adapter with maxSubmoduleDepth, but this would be another hacky solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant