Skip to content

Commit

Permalink
Fix: Dafny plugins working again. (#453)
Browse files Browse the repository at this point in the history
The plugins option of the IDE was no longer working because we were
outputting the index. It might not matter that much now that we have
project files, but it's now fixed and I also deprecated the options to
add plugins this way since regular options work as much as project
files.

Fixes dafny-lang/dafny#4759

I did not bother writing tests because it's a deprecated option anyway.
  • Loading branch information
MikaelMayer authored Nov 27, 2023
1 parent 0c13544 commit 1908ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
"type": "string"
},
"default": [],
"description": "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"
"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": {
"type": "array",
Expand Down

0 comments on commit 1908ff5

Please sign in to comment.