fwcd / fwcd/kotlin-debug-adapter

Improve source root resolving for multi-module projects

Open
#77 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
150
Forks
29
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.