hie-bios icon indicating copy to clipboard operation
hie-bios copied to clipboard

BSP: Build Server Protocol

Open sideeffffect opened this issue 6 years ago • 5 comments

Hello, does it make sense for hie-bios to support the BSP (Build Server Protocol)? It's analogous to LSP, but for integration with build tools.

sideeffffect avatar Oct 06 '19 18:10 sideeffffect

Looks interesting! Which editors support this protocol? As far as I can see, it’s only really interesting to implement if it gets us functionality in one or more editors, e.g. like implementing LSP gets us nice VSCode integration out of the box.

runeksvendsen avatar Apr 13 '20 15:04 runeksvendsen

If I understand it correctly, as LSP is about communication between Editors and Language Servers, BSP is typically about communication between Language Servers and Build Tools. So BSP is not typically about editors. That being said, Intellij works with BSP directly, because it's side-stepping LSP altogether.

sideeffffect avatar Apr 13 '20 22:04 sideeffffect

So stack and cabal would need to support BSP

Avi-D-coder avatar Apr 14 '20 00:04 Avi-D-coder

Is there a major benefit to hie-bios being that wrapper? Hie-bios is only used for ghcide and hie, If stack and cabal were to support BSP, it would be a different story, but a wrapper as a separate process is not worth it from where I'm standing.

Avi-D-coder avatar Apr 14 '20 04:04 Avi-D-coder