Skip to content

Commit 668ec8b

Browse files
Update the description of dafny.version (#470)
Fixes #422 ### Changes - Update the description of `dafny.version` - Remove outdated descriptions of options in the README ### Testing - Manually inspected the new description
1 parent 232c430 commit 668ec8b

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

README.md

-20
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,6 @@ You can find [examples below](#examples).
2929
The plugin requires at least .NET Core 5.0 (the ASP.NET Core 5.0 or 6.0 runtimes to be more specific) to run the _Dafny Language Server_. Please download a distribution from [Microsoft](https://dotnet.microsoft.com/download).
3030
When you first open a _Dafny_ file, the extension will prompt you to install .NET Core manually. The language server gets installed automatically.
3131

32-
## Extension Settings
33-
34-
| Setting | Description | Default |
35-
| :-------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------- |
36-
| `dafny.languageServerRuntimePath` | Absolute or relative path to the _Dafny_ language server runtime (`DafnyLanguageServer.dll`). | `null` |
37-
| `dafny.automaticVerification` | Optional string to control when the document should be verified (choose between `never`, `onchange`, and `onsave`. | `onchange` |
38-
| `dafny.verificationTimeLimit` | Maximum number of time in seconds to verify a document. 0=infinite | `0` |
39-
| `dafny.verificationVirtualCores` | Maximum number of virtual cores that may be used for verification. 0=auto (use half of the available cores) | `0` |
40-
| `dafny.markGhostStatements` | Mark ghost statements in the code (requires Dafny 3.4.0+). | `true` |
41-
| `dafny.languageServerLaunchArgs` | Optional array of strings as _Dafny_ language server arguments. | `[ ]` |
42-
| `dafny.compilerRuntimePath` | Absolute or relative path to the _Dafny_ compiler (`Dafny.dll`). | `null` |
43-
| `dafny.compilerArgs` | Optional array of strings as _Dafny_ compilation arguments. | `[ "/verifyAllModules", "/compile:1", "/spillTargetCode:1" ]` |
44-
| `dafny.compilerArgs` | Optional array of strings as _Dafny_ compilation arguments. | `[ "/verifyAllModules", "/compile:1", "/spillTargetCode:1" ]` |
45-
| `dafny.preferredVersion` | The preferred Dafny version to use (overriden by custom compiler and language server paths, choose between `latest`, `3.3.0`, and `3.2.0`). | `latest` |
46-
| `dafny.dotnetExecutablePath` | Absolute path to the dotnet executable. Only necessary if dotnet is not in system PATH (you'll get an error if that's the case). | |
47-
| `dafny.colorCounterexamples` | Customize the color (HEX) of counterexamples. There are two default colors: for dark theme (#0d47a1, #e3f2fd) and light theme (#bbdefb, #102027). This color setting will override both defaults. | `{ "backgroundColor": null, "fontColor": null }` |
48-
| `dafny.terminalCommandPrefix` | The prefix to use when executing a command in the VS Code terminal. Defaults to & on windows. | |
49-
50-
Please note that in this new plugin version "automatic verification" is always on and a language server side feature.
51-
5232
## Examples
5333

5434
Here are a few impressions of the features.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
"latest nightly"
254254
],
255255
"default": "latest stable release",
256-
"description": "The preferred Dafny version to use (requires restart)."
256+
"description": "The preferred Dafny version to use (requires restart). Select 'custom' and configure the option 'Cli Path' to use the Dafny binary at that location."
257257
},
258258
"dafny.dotnetExecutablePath": {
259259
"type": "string",

0 commit comments

Comments
 (0)