cameron-martin / bazel-lsp

A language server implementation for Bazel
Apache License 2.0
36 stars 1 forks source link

feat: Add autocomplete for bazel builtins #8

Closed cameron-martin closed 5 months ago

cameron-martin commented 5 months ago

This implements the function get_environment on LspContext. This reads the a protobuf file generated by bazel that contains all the builtins. This does not include things like cc_library. Further investigation is needed on how to obtain these. Type information could be generated better too, but this will happen in a follow-up.