BBx-Kitchen / bbj-language-server

BBj Language Server
MIT License
6 stars 6 forks source link

traverse and scan PREFIX only for files that are in use by source files in the current project #32

Open StephanWald opened 1 year ago

StephanWald commented 1 year ago

The default PREFIX in config.bbx is pretty large and contains a lot of BBj source files that are irrelevant for most projects.

Can we only scan those files that are referenced by a USE statement from one of the source files in the project, and then maybe recursively their dependencies?

dhuebner commented 1 year ago

Difficult to estimate. First draft could be implemented with not that much effort, but I assume one will need a lot of testing. Also fixing corner-cases or some unexpected problems can take a while.