Skip to content

Commit

Permalink
init dev for var processing
Browse files Browse the repository at this point in the history
  • Loading branch information
dshimo committed Jan 11, 2024
1 parent e6f1f16 commit aa581b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const download = require("gulp-download2");
const cp = require("child_process");

const libertyGroupId = "io.openliberty.tools";
const libertyVersion = "2.1.1";
const libertyVersion = "2.1.2-SNAPSHOT";
const jakartaGroupId = "org.eclipse.lsp4jakarta";
const jakartaVersion = "0.2.0";
var releaseLevel = "releases"; //"snapshots"; //snapshots or releases
Expand Down
7 changes: 4 additions & 3 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { prepareExecutable } from "./util/javaServerStarter";

const LIBERTY_CLIENT_ID = "LANGUAGE_ID_LIBERTY";
const JAKARTA_CLIENT_ID = "LANGUAGE_ID_JAKARTA";
export const LIBERTY_LS_JAR = "liberty-langserver-2.1.1-jar-with-dependencies.jar";
export const LIBERTY_LS_JAR = "liberty-langserver-2.1.2-SNAPSHOT-jar-with-dependencies.jar";
export const JAKARTA_LS_JAR = "org.eclipse.lsp4jakarta.ls-0.2.0-jar-with-dependencies.jar";

let libertyClient: LanguageClient;
Expand Down Expand Up @@ -215,13 +215,14 @@ function prepareClientOptions(Liberty_LS :boolean) {
return {
// Filter to `*.properties` and `*.env` files, let LCLS handle filtering for default/custom configs
documentSelector: [{ scheme: "file",
pattern: "**/{*.properties,*.env}" }],
pattern: "**/{*.properties,*.env,server.xml}" }],
synchronize: {
configurationSection: SUPPORTED_LANGUAGE_IDS,
fileEvents: [
workspace.createFileSystemWatcher("**/*.properties"),
workspace.createFileSystemWatcher("**/*.env"),
workspace.createFileSystemWatcher("**/liberty-plugin-config.xml")
workspace.createFileSystemWatcher("**/liberty-plugin-config.xml"),
workspace.createFileSystemWatcher("**/server.xml")
],
}
};
Expand Down

0 comments on commit aa581b2

Please sign in to comment.