Top For Removal Deprecated By Reference
Eclipse LSP4J 0.24.0

Deprecated API


Terminally Deprecated Item Summary

SinceTerminally Deprecated Item and Description
org.eclipse.lsp4j.websocket.WebSocketEndpoint<
remote service interface type
T
>

Please migrate to org.eclipse.lsp4j.websocket.jakarta

org.eclipse.lsp4j.websocket.WebSocketLauncherBuilder<
remote service interface type
T
>

Please migrate to org.eclipse.lsp4j.websocket.jakarta

org.eclipse.lsp4j.websocket.WebSocketMessageConsumer

Please migrate to org.eclipse.lsp4j.websocket.jakarta

org.eclipse.lsp4j.websocket.WebSocketMessageHandler

Please migrate to org.eclipse.lsp4j.websocket.jakarta

Deprecated Item Summary

SinceDeprecated Item and Description
org.eclipse.lsp4j.CompletionItem.setDeprecated(final Boolean deprecated)

Use tags instead if supported.

org.eclipse.lsp4j.DocumentSymbol.setDeprecated(final Boolean deprecated)

Use tags instead if supported.

org.eclipse.lsp4j.FormattingOptions(final int tabSize, final boolean insertSpaces, final Map<String, String> properties)

See https://github.com/eclipse-lsp4j/lsp4j/issues/99

org.eclipse.lsp4j.FormattingOptions.getProperties()

See https://github.com/eclipse-lsp4j/lsp4j/issues/99

org.eclipse.lsp4j.FormattingOptions.setProperties(final Map<String, String> properties)

See https://github.com/eclipse-lsp4j/lsp4j/issues/99

org.eclipse.lsp4j.InitializeErrorCode.unknownProtocolVersion

This initialize error got replaced by client capabilities. There is no version handshake in version 3.0x

org.eclipse.lsp4j.SymbolInformation(final String name, final SymbolKind kind, final Location location)

org.eclipse.lsp4j.SymbolInformation(final String name, final SymbolKind kind, final Location location, final String containerName)

org.eclipse.lsp4j.SymbolInformation.setDeprecated(final Boolean deprecated)

Use tags instead if supported.

org.eclipse.lsp4j.TextDocumentContentChangeEvent(final Range range, final Integer rangeLength, final String text)

org.eclipse.lsp4j.WorkspaceEditCapabilities(final Boolean documentChanges)

because when this class first existed it didn't have any other fields. Now that this class has lots of fields, there is nothing special about this field and therefore using the setters is the recommended use case.

Returns:

a future that is resolved when the started thread is terminated, e.g. by closing a stream
org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.startProcessing
(MessageProducer
- produces messages, e.g. by reading from an input channel
messageProducer
,
MessageConsumer
- processes messages and potentially forwards them to other consumers
messageConsumer
,
ExecutorService
- the thread is started using this service
executorService
)

Please use the non-static beginProcessing instead.

Deprecated Reference Summary

SinceItem with Deprecated Reference and Description
org.eclipse.lsp4j.websocket.WebSocketLauncherBuilder.setSession(Session session)

WebSocketLauncherBuilder is deprecated or references (maybe indirectly) at least one deprecated element.