@@ -10,14 +10,15 @@ import { LibertyProject, ProjectProvider } from "./liberty/libertyProject";
1010import { LanguageClientOptions } from "vscode-languageclient" ;
1111import { LanguageClient } from "vscode-languageclient/node" ;
1212import { workspace , commands , ExtensionContext , extensions , window , StatusBarAlignment , TextEditor } from "vscode" ;
13- import { JAVA_EXTENSION_ID , waitForStandardMode } from "./util/javaServerMode" ;
1413import { localize } from "./util/i18nUtil" ;
1514import { RequirementsData , resolveRequirements , resolveLclsRequirements } from "./util/requirements" ;
1615import { prepareExecutable } from "./util/javaServerStarter" ;
1716import * as helperUtil from "./util/helperUtil" ;
1817import path = require( 'path' ) ;
1918import * as fs from "fs" ;
2019
20+ const JAVA_EXTENSION_ID = "redhat.java" ;
21+
2122const LIBERTY_CLIENT_ID = "LANGUAGE_ID_LIBERTY" ;
2223const JAKARTA_CLIENT_ID = "LANGUAGE_ID_JAKARTA" ;
2324export const LIBERTY_LS_JAR = "liberty-langserver-2.3.2-jar-with-dependencies.jar" ;
@@ -37,7 +38,6 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
3738 * If java ls was started in lightweight mode, It will prompt user to switch
3839 */
3940 const api : JavaExtensionAPI = await getJavaExtensionAPI ( ) ;
40- await waitForStandardMode ( api ) ;
4141
4242 const item = window . createStatusBarItem ( StatusBarAlignment . Right , Number . MIN_VALUE ) ;
4343 // item.name = "Liberty Language Server";
0 commit comments