vscode: VSCode not showing progress from Language Server

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.82.2 (system setup)
  • OS Version: Windows 11

Steps to Reproduce:

  1. Make a language server, connect it to VS Code, and send the following messages to the editor
{"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"MyCoolAnalysis"}}
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"MyCoolAnalysis","value":{"cancellable":true,"kind":"begin","message":"1 file","percentage":0,"title":"Analyzing"}}}
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"MyCoolAnalysis","value":{"cancellable":true,"kind":"report","percentage":0}}}
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"MyCoolAnalysis","value":{"cancellable":true,"kind":"report","percentage":100}}}
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"MyCoolAnalysis","value":{"kind":"end"}}}

Expected result: progress shows on the bottom left or somewhere similar Actual result: no progress

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 19 (18 by maintainers)

Most upvoted comments

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.82.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!