Description
While investigating a bug about progress notifications not showing during refactors, I found that this client always uses status bar notifications which are very subtle:
vscode-languageserver-node/client/src/common/progressPart.ts
Lines 61 to 62 in 0671381
While this is fine for something like background analysis, it's much less useful for something like an expensive refactor if a user drags a folder in explorer and it may take a few seconds to compute all the edits to update the imports. This would be better as a more visible notification.
@dbaeumer I'd be happy to implement this using middleware for my extension, but it's not clear if that's possible because this code lives inside ProgressPart.begin()
. It would be nice to support it in the client though - maybe even the spec? I think the concept of a progress notification that is prominent because it is doing something important the user is explicitly waiting for could make sense (or, maybe the client could do it if the progress is tied to some kinds of requests, like executeCommand
?).