-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hey team! 👋
I've been testing sourcekit-bazel-bsp and it's incredibly powerful. However, the current setup requires several manual steps that can be a barrier for developers getting started.
The Challenge
Currently, developers need to:
- Manually create/edit
.bsp/skbsp.jsonconfiguration files - Remember to update the config when switching between Bazel targets
- Manually reload VS Code after configuration changes
- Troubleshoot BSP connection issues without clear visibility into what's happening
- Understand the relationship between Bazel targets and BSP configuration
This friction can make adoption difficult, especially for teams new to Bazel or BSP.
Proposed Solution
I've built SwiftBazel - a VS Code extension that acts as a user-friendly interface layer for sourcekit-bazel-bsp. It provides:
- One-click BSP setup:
SwiftBazel: Setup BSP Config for Selected Target - Automatic config updates: Prompts when switching targets with different BSP configurations
- Live BSP log monitoring: Real-time streaming of sourcekit-bazel-bsp logs for debugging
- Visual target management: GUI for selecting/switching Bazel targets
- Integration with build workflow: Coordinates BSP with Bazel builds/debugging
🔗 Project: https://github.com/maatheusgois-dd/swiftbazel
Demo
The Ask
I'd love to:
- Get feedback on this approach - does it align with the BSP team's vision?
- Collaborate on improving the developer experience around BSP adoption
- Contribute features that could make sourcekit-bazel-bsp easier to integrate for other tool builders
- Share learnings about common pain points we've solved
This extension complements sourcekit-bazel-bsp by handling the "last mile" of developer experience - making it accessible to developers who just want to "press a button and have it work."
Would love your thoughts on this approach and how we can work together to make BSP adoption smoother for the Swift/iOS community! 🚀
