Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update option names #509

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,13 @@
"default": [],
"description": "(Deprecated, use repeated --plugin:<path> in Language Server Launch Args) Absolute paths to assemblies to be used as plugins (requires restart and Dafny 3.4.0+).\nExample 1: /user/home/dafnyplugin.dll\nExample 2: /user/home/dafnyplugin.dll,oneArgument\nExample 3: /user/home/dafnyplugin.dll,\"argument with space and \\\" escaped quote\" secondArgument"
},
"dafny.languageServerLaunchArgs": {
"dafny.dafnyServerArguments": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Optional array of strings to pass to the language server. Only works if the Dafny version is 3.10 or greater. Available options can be seen using 'dafny server --help'"
"description": "Optional array of strings to use an options when starting 'dafny server', the language server that powers this extension. Only works if the Dafny version is 3.10 or greater. Available options can be seen using 'dafny server --help'. Note that for project specific options, it is better to configure them in a Dafny project file, which the Dafny extension then automatically finds and uses."
},
"dafny.cliPath": {
"type": "string",
Expand All @@ -218,13 +218,13 @@
"default": "bin",
"description": "Absolute or relative path to the compilation output directory."
},
"dafny.runArgs": {
"dafny.dafnyRunArguments": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Optional array of strings as Dafny run and build arguments"
"description": "Optional array of strings to pass as options when invoking `dafny run` and `dafny build`. Available options can be seen using 'dafny run --help'"
},
"dafny.version": {
"type": "string",
Expand Down
4 changes: 2 additions & 2 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export namespace ConfigurationConstants {

export namespace LanguageServer {
export const CliPath = 'cliPath';
export const LaunchArgs = 'languageServerLaunchArgs';
export const LaunchArgs = 'dafnyServerArguments';
export const AutomaticVerification = 'automaticVerification';
export const VerificationTimeLimit = 'verificationTimeLimit';
export const VerificationVirtualCores = 'verificationVirtualCores';
Expand All @@ -30,7 +30,7 @@ export namespace ConfigurationConstants {

export namespace Compiler {
export const OutputDir = 'compilerOutputDir';
export const Arguments = 'runArgs';
export const Arguments = 'dafnyRunArguments';
export const CommandPrefix = 'terminalCommandPrefix';
}

Expand Down
Loading