You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -715,110 +716,121 @@ To support the case that the editor starting a server crashes, an editor should
715
716
716
717
Since 3.17 there is a meta model describing the LSP protocol:
717
718
718
-
-[metaModel.json](../metaModel/metaModel.json): The actual meta model for the LSP 3.17 specification
719
+
-[metaModel.json](../metaModel/metaModel.json): The actual meta model for the LSP 3.18 specification
719
720
-[metaModel.ts](../metaModel/metaModel.ts): A TypeScript file defining the data types that make up the meta model.
720
721
-[metaModel.schema.json](../metaModel/metaModel.schema.json): A JSON schema file defining the data types that make up the meta model. Can be used to generate code to read the meta model JSON file.
-add support for client feature flags to support that servers can adapt to different client capabilities. An example is the new `textDocument/willSaveWaitUntil` request which not all clients might be able to support. If the feature is disabled in the client capabilities sent on the initialize request, the server can't rely on receiving the request.
873
-
-add support to experiment with new features. The new `ClientCapabilities.experimental` section together with feature flags allow servers to provide experimental feature without the need of ALL clients to adopt them immediately.
884
+
-Added support for client feature flags to support that servers can adapt to different client capabilities. An example is the new `textDocument/willSaveWaitUntil` request which not all clients might be able to support. If the feature is disabled in the client capabilities sent on the initialize request, the server can't rely on receiving the request.
885
+
-Added support to experiment with new features. The new `ClientCapabilities.experimental` section together with feature flags allow servers to provide experimental feature without the need of ALL clients to adopt them immediately.
874
886
- servers can more dynamically react to client features. Capabilities can now be registered and unregistered after the initialize request using the new `client/registerCapability` and `client/unregisterCapability`. This, for example, allows servers to react to settings or configuration changes without a restart.
875
-
-add support for `textDocument/willSave` notification and `textDocument/willSaveWaitUntil` request.
876
-
-add support for `textDocument/documentLink` request.
877
-
-add a `rootUri` property to the initializeParams in favor of the `rootPath` property.
887
+
-Added support for `textDocument/willSave` notification and `textDocument/willSaveWaitUntil` request.
888
+
-Added support for `textDocument/documentLink` request.
889
+
-Added a `rootUri` property to the initializeParams in favor of the `rootPath` property.
* Parameters for the `workspace/textDocumentContent` request.
68
+
*
69
+
* @since 3.18.0
70
+
*/
71
+
exportinterfaceTextDocumentContentParams {
72
+
/**
73
+
* The uri of the text document.
74
+
*/
75
+
uri:DocumentUri;
76
+
}
77
+
```
78
+
79
+
_Response_:
80
+
* result: `string`. The content of the text document. Please note, that the content of any subsequent open notifications for the text document might differ from the returned content due to whitespace and line ending normalizations done on the client.
81
+
* error: code and message set in case an exception happens during the text document content request.
0 commit comments