Comments (2)
VS Code has no general concept for reporting work done progress (e.g. the VS Code API doesn't have the concept of a progress monitor when running format). To stay with this UI design the LSP client doesn't setup a monitor by its own.
This is outlines in the LSP spec. See
There is no specific client capability signaling whether a client will send a progress token per request. The reason for this is that this is in many clients not a static aspect and might even change for every request instance for the same request type. So the capability is signal on every request instance by the presence of a workDoneToken property.
To avoid that clients set up a progress monitor user interface before sending a request but the server doesnโt actually report any progress a server needs to signal general work done progress reporting support in the corresponding server capability. For the above find references example a server would signal such a support by setting the referencesProvider property in the server capabilities as follows:
So a server setting the property is not forcing the client to setup a monitor. It is still up to the client to decide whether it sends a monitor or not.
from vscode-languageserver-node.
Got it.
from vscode-languageserver-node.
Related Issues (20)
- notebook cell doesn't get document highlight request HOT 4
- problem with priority of onCompletion items HOT 2
- Support for Generators using LSP HOT 6
- Progress percentage should be an uint according to the spec HOT 1
- Fix ProtocolConverter#asWorkspaceEdit to correctly support workspace edits with snippets HOT 2
- New named structs in metamodel should maybe not be "proposed"? HOT 8
- `NotebookCell` is missing `outputs` field HOT 15
- Extend predefined semantic token types to include `label` HOT 1
- Fix CancellationReceiverStrategy type definition to include RequestCancellationReceiverStrategy HOT 1
- changelog?
- Expected sequence of events for an initialization failure HOT 2
- LanguageClient adds an extra `--stdio` argument when using `TransportKind.stdio` HOT 1
- Error compiling test-provider-sample executionCount does not exist on type StatementCoverage
- Kobicoin HOT 2
- LSP request failure toasts cannot be turned off HOT 9
- Missing `onSemanticTokens` method on `Connection` HOT 2
- Semantic tokens that are not in ascending order will not be highlighted HOT 7
- Document symbols in editor do not show after starting VSCode with file open HOT 8
- Two-part Hover info using `MarkupContent` HOT 3
- Language server is not started until a file is opened HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-languageserver-node.