Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support configuring package resolution in FE #31549
In build systems like bazel, the analysis server used within the IDE needs to customize package resolution rules. This customization cannot be done by creating a .packages file because we cannot list all the possible packages that the user may need.
Analyzer in the past achieved this by creating custom package-uri translation rules. I believe we could achieve a similar result by letting clients of the FE specify a Packages object as an option (instead of just a .packages file).