swiftlang / sourcekit-lsp

Language Server Protocol implementation for Swift and C-based languages
Apache License 2.0
3.31k stars 275 forks source link

Use `build/taskStart`, `build/taskProgress` and `build/taskFinish` to communicate progress from a BSP server to the client #1783

Open ahoppen opened 4 hours ago

ahoppen commented 4 hours ago

Instead of defining BSP extensions for window/workDoneProgress/create and $/progress, we should be able to use the standard build/taskStart, build/taskProgress and build/taskFinish messages to the same effect, as suggested by https://forums.swift.org/t/extending-functionality-of-build-server-protocol-with-sourcekit-lsp/74400/9.

ahoppen commented 4 hours ago

Synced to Apple’s issue tracker as rdar://138653131