Problem Statement
currently, all sources are loaded for targets. which would be a performance issue for huge projects.
AS IS
- client open project --> lsp: buildTarget --> bsp : load all targets
- lsp buildTarget/sources --> bsp: load all sources for each target
TO BE
- client open project --> lsp: buildTarget --> bsp : load all targets
- lsp buildTarget/sources --> bsp: don't load sources each target
- client: open a file --> lsp: textDidOpen --> bsp: start to load sources for the active target
Proposed Solution
AS IS
- client open project --> lsp: buildTarget --> bsp : load all targets
- lsp buildTarget/sources --> bsp: load all sources for each target
TO BE
- client open project --> lsp: buildTarget --> bsp : load all targets
- lsp buildTarget/sources --> bsp: don't load sources each target
- client: open a file --> lsp: textDidOpen --> bsp: start to load sources for the active target
Alternatives Considered
No response
Priority
Low - Nice to have
Implementation
Additional Context
No response
Problem Statement
currently, all sources are loaded for targets. which would be a performance issue for huge projects.
AS IS
TO BE
Proposed Solution
AS IS
TO BE
Alternatives Considered
No response
Priority
Low - Nice to have
Implementation
Additional Context
No response