aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/code/package-lock.json6
-rw-r--r--editors/code/package.json21
-rw-r--r--editors/code/src/commands.ts2
3 files changed, 24 insertions, 5 deletions
diff --git a/editors/code/package-lock.json b/editors/code/package-lock.json
index 63ba4bdf1..33d60d4dd 100644
--- a/editors/code/package-lock.json
+++ b/editors/code/package-lock.json
@@ -1761,9 +1761,9 @@
1761 "dev": true 1761 "dev": true
1762 }, 1762 },
1763 "node-fetch": { 1763 "node-fetch": {
1764 "version": "2.6.0", 1764 "version": "2.6.1",
1765 "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", 1765 "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
1766 "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" 1766 "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
1767 }, 1767 },
1768 "normalize-path": { 1768 "normalize-path": {
1769 "version": "3.0.0", 1769 "version": "3.0.0",
diff --git a/editors/code/package.json b/editors/code/package.json
index 6fc4464df..c57fbdda2 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -35,7 +35,7 @@
35 "test": "node ./out/tests/runTests.js" 35 "test": "node ./out/tests/runTests.js"
36 }, 36 },
37 "dependencies": { 37 "dependencies": {
38 "node-fetch": "^2.6.0", 38 "node-fetch": "^2.6.1",
39 "vscode-languageclient": "7.0.0-next.9" 39 "vscode-languageclient": "7.0.0-next.9"
40 }, 40 },
41 "devDependencies": { 41 "devDependencies": {
@@ -626,6 +626,21 @@
626 }, 626 },
627 "description": "List of warnings that should be displayed with hint severity.\nThe warnings will be indicated by faded text or three dots in code and will not show up in the problems panel.", 627 "description": "List of warnings that should be displayed with hint severity.\nThe warnings will be indicated by faded text or three dots in code and will not show up in the problems panel.",
628 "default": [] 628 "default": []
629 },
630 "rust-analyzer.assist.importMergeBehaviour": {
631 "type": "string",
632 "enum": [
633 "none",
634 "full",
635 "last"
636 ],
637 "enumDescriptions": [
638 "No merging",
639 "Merge all layers of the import trees",
640 "Only merge the last layer of the import trees"
641 ],
642 "default": "full",
643 "description": "The strategy to use when inserting new imports or merging imports."
629 } 644 }
630 } 645 }
631 }, 646 },
@@ -864,6 +879,10 @@
864 { 879 {
865 "id": "unsafe", 880 "id": "unsafe",
866 "description": "Style for unsafe operations" 881 "description": "Style for unsafe operations"
882 },
883 {
884 "id": "consuming",
885 "description": "Style for non-Copy lvalues consumed by method/function call"
867 } 886 }
868 ], 887 ],
869 "semanticTokenScopes": [ 888 "semanticTokenScopes": [
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts
index 69f2836ad..4321de244 100644
--- a/editors/code/src/commands.ts
+++ b/editors/code/src/commands.ts
@@ -195,7 +195,7 @@ export function ssr(ctx: Ctx): Cmd {
195 195
196 const options: vscode.InputBoxOptions = { 196 const options: vscode.InputBoxOptions = {
197 value: "() ==>> ()", 197 value: "() ==>> ()",
198 prompt: "Enter request, for example 'Foo($a) ==> Foo::new($a)' ", 198 prompt: "Enter request, for example 'Foo($a) ==>> Foo::new($a)' ",
199 validateInput: async (x: string) => { 199 validateInput: async (x: string) => {
200 try { 200 try {
201 await client.sendRequest(ra.ssr, { 201 await client.sendRequest(ra.ssr, {