@Override public void initialized(InitializedParams params) { if (preferenceManager.getClientPreferences().isWorkspaceFoldersSupported()) { registerCapability(WorkspaceFoldersProposedService.CAPABILITY_ID, WorkspaceFoldersProposedService.CAPABILITY_NAME); } }
/** * 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(); }