Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Solution: Given that I use NeoVim (with LunarVim distro) as my primary editor, I decided to give writing a plugin a whirl. The plugin lives here https://github.com/numine777/py-bazel.nvim and is very open to community input. Hope others find this helpful! I plan to continue to expand this going forward.
https://github.com/alexander-born/bazel-vim go to definition insides bazel files build/test/run bazel target of current buffer jump to BUILD file of current buffer start debugger of gtest at current cursor position (requires nvim-dap or vimspector) get full bazel label at current cursor position inside BUILD file
For auto completion of bazel targets checkout https://github.com/alexander-born/cmp-bazel
Readme documentation could be lacking and a little out of date. Better to check the usage in my config here: https://github.com/alexander-born/.cfg/blob/master/nvim/.config/nvim/lua/config/bazel.lua
There is a vim plugin to follow symlinks if you wanna get rid of this. https://github.com/aymericbeaumet/vim-symlink