- Added support for
CompletionContext
- Added support for
MarkupContent
- Removed old New and Updated markers.
- Added optional
commitCharacters
property to theCompletionItem
- Make the
WorkspaceEdit
changes backwards compatible. - Updated the specification to correctly describe the breaking changes from 2.x to 3.x around
WorkspaceEdit
andTextDocumentEdit
.
- 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. - 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 immediatelly. - servers can more dynamically react to client features. Capabilities can now be registered and unregistered after the initialize request using the new
client/registerCapability
andclient/unregisterCapability
. This for example allows servers to react to settings or configuration changes without a restart. - add support for
textDocument/willSave
notification andtextDocument/willSaveWaitUntil
request. - add support for
textDocument/documentLink
request. - add a
rootUri
property to the initializeParams in favour of therootPath
property.