Skip to content

Commit

Permalink
vscode-ext: use new invocation for lsp server
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp15b committed Jan 18, 2025
1 parent c66216d commit 81a0ae4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ members = [

[package]
name = "caesar"
version = "2.1.0"
version = "2.1.1"
authors = ["Philipp Schroer <[email protected]>"]
description = "Caesar is a deductive verifier for probabilistic programs."
homepage = "https://www.caesarverifier.org/"
Expand Down
2 changes: 1 addition & 1 deletion vscode-ext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Caesar Verifier",
"description": "The quantitative deductive verifier Caesar for VSCode",
"publisher": "rwth-moves",
"version": "2.1.0",
"version": "2.1.1",
"repository": {
"type": "git",
"url": "https://github.com/moves-rwth/caesar.git",
Expand Down
6 changes: 3 additions & 3 deletions vscode-ext/src/CaesarClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export class CaesarClient {
serverExecutable = pathRes;
}
}
args.push('--language-server');
args.push('lsp');
}
break;
case ConfigurationConstants.userBinaryOption:
Expand All @@ -242,7 +242,7 @@ export class CaesarClient {
});
throw new Error("Installation path is not set");
}
args.push('--language-server');
args.push('lsp');
break;
case ConfigurationConstants.sourceCodeOption:
serverDirectory = ServerConfig.get(ConfigurationConstants.sourcePath);
Expand All @@ -262,7 +262,7 @@ export class CaesarClient {
throw new Error("Cargo.toml file is not found in the path");
}
serverExecutable = "cargo";
args.push('run', '--', '--language-server');
args.push('run', '--', 'lsp');
break;
default:
this.logger.error("Client: unknown installation choice config setting", installationChoice);
Expand Down

0 comments on commit 81a0ae4

Please sign in to comment.