Java 类org.eclipse.lsp4j.InitializedParams 实例源码
项目:eclipse.jdt.ls
文件:JDTLanguageServer.java
@Override
public void initialized(InitializedParams params) {
if (preferenceManager.getClientPreferences().isWorkspaceFoldersSupported()) {
registerCapability(WorkspaceFoldersProposedService.CAPABILITY_ID, WorkspaceFoldersProposedService.CAPABILITY_NAME);
}
}
项目:SOMns-vscode
文件:LanguageServer.java
/**
* The initialized notification is sent from the client to the server after
* the client received the result of the initialize request but before the
* client is sending any other request or notification to the server. The
* server can use the initialized notification for example to dynamically
* register capabilities.
*/
@JsonNotification
default void initialized(InitializedParams params) {
initialized();
}
项目:lsp4j
文件:LanguageServer.java
/**
* The initialized notification is sent from the client to the server after
* the client received the result of the initialize request but before the
* client is sending any other request or notification to the server. The
* server can use the initialized notification for example to dynamically
* register capabilities.
*/
@JsonNotification
default void initialized(InitializedParams params) {
initialized();
}