Describe the bug
Currently, summary computation requires a path config. Path configs are only applicable to source projects, so for library projects, this is confusing and might introduce errors.
Change summary computation for library modules to not compute path configs.
Preparing work on Rascal: usethesource/rascal#2748
Related issues:
To Reproduce
Steps to reproduce the behavior:
- Open a module with stdlib imports.
- Trigger a type-check.
- Go-to-def on
import IO (or similar)
- In the opened standrad library module, go-to-def on some reference again.
- Observe the path config in the debug console; it has a project root in
std://, jar+file:// or mvn://
Expected behavior
Do not compute a path config for binary modules.
Desktop (please complete the following information):
- Context: VS Code extension
- Rascal Version: LSP
2.22.3
Describe the bug
Currently, summary computation requires a path config. Path configs are only applicable to source projects, so for library projects, this is confusing and might introduce errors.
Change summary computation for library modules to not compute path configs.
Preparing work on Rascal: usethesource/rascal#2748
Related issues:
stdrascal#2743std://#968To Reproduce
Steps to reproduce the behavior:
import IO(or similar)std://,jar+file://ormvn://Expected behavior
Do not compute a path config for binary modules.
Desktop (please complete the following information):
2.22.3