Search in sources :

Example 1 with BootLanguageServerParams

use of org.springframework.ide.vscode.boot.BootLanguageServerParams in project sts4 by spring-projects.

the class ApplicationPropertiesEditorTest method newLanguageServer.

// //////////// harness code below /////////////////////////
@Override
protected SimpleLanguageServer newLanguageServer() {
    ComposableLanguageServer<?> server = BootLanguageServer.create(s -> new BootLanguageServerParams(javaProjectFinder, ProjectObserver.NULL, md.getIndexProvider(), typeUtilProvider, RunningAppProvider.NULL, SpringLiveHoverWatchdog.DEFAULT_INTERVAL));
    server.setMaxCompletionsNumber(-1);
    return server.getServer();
}
Also used : BootLanguageServerParams(org.springframework.ide.vscode.boot.BootLanguageServerParams)

Example 2 with BootLanguageServerParams

use of org.springframework.ide.vscode.boot.BootLanguageServerParams in project sts4 by spring-projects.

the class ApplicationYamlEditorTest method newLanguageServer.

@Override
protected SimpleLanguageServer newLanguageServer() {
    ComposableLanguageServer<?> server = BootLanguageServer.create(s -> new BootLanguageServerParams(javaProjectFinder, ProjectObserver.NULL, md.getIndexProvider(), typeUtilProvider, RunningAppProvider.NULL, SpringLiveHoverWatchdog.DEFAULT_INTERVAL));
    server.setMaxCompletionsNumber(-1);
    return server.getServer();
}
Also used : BootLanguageServerParams(org.springframework.ide.vscode.boot.BootLanguageServerParams)

Aggregations

BootLanguageServerParams (org.springframework.ide.vscode.boot.BootLanguageServerParams)2