diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-10-20 13:51:30 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-10-20 13:51:30 +0100 |
commit | 2ded93a78a108c1f7e0dd0a9036c88c786f21dce (patch) | |
tree | 4656be95dde6ebd9a38e680dba161aa53357acfb /editors/code | |
parent | 4dbf0379ccd5c7643d48658f0ecc224add5a5c5c (diff) | |
parent | 3de77908eb52362e1acc3feed6186a18d8026f6e (diff) |
Merge #143
143: Implement Find All References and Rename for local variables r=matklad a=kjeremy
Expose `find_all_refs` in `Analysis`. This currently only works for local variables.
Use this in the LSP to implement find all references and rename.
Co-authored-by: Jeremy A. Kolb <[email protected]>
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package-lock.json | 16 | ||||
-rw-r--r-- | editors/code/package.json | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/editors/code/package-lock.json b/editors/code/package-lock.json index 33c5203b2..fe304623f 100644 --- a/editors/code/package-lock.json +++ b/editors/code/package-lock.json | |||
@@ -2074,8 +2074,7 @@ | |||
2074 | "semver": { | 2074 | "semver": { |
2075 | "version": "5.5.1", | 2075 | "version": "5.5.1", |
2076 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz", | 2076 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz", |
2077 | "integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==", | 2077 | "integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==" |
2078 | "dev": true | ||
2079 | }, | 2078 | }, |
2080 | "source-map": { | 2079 | "source-map": { |
2081 | "version": "0.6.1", | 2080 | "version": "0.6.1", |
@@ -2509,9 +2508,9 @@ | |||
2509 | } | 2508 | } |
2510 | }, | 2509 | }, |
2511 | "vsce": { | 2510 | "vsce": { |
2512 | "version": "1.51.1", | 2511 | "version": "1.52.0", |
2513 | "resolved": "https://registry.npmjs.org/vsce/-/vsce-1.51.1.tgz", | 2512 | "resolved": "https://registry.npmjs.org/vsce/-/vsce-1.52.0.tgz", |
2514 | "integrity": "sha512-Hf2HE9O/MRQHxUUgWHAm7mOkz0K5swuF2smaE/sP7+OWp/5DdIPFwmLEYCCZHxG25l3GBRoO0dAL8S5w//et+g==", | 2513 | "integrity": "sha512-k+KYoTx1sacpYf2BHTA7GN82MNSlf2N4EuppFWwtTN/Sh6fWzIJafxxCNBCDK0H+5NDWfRGZheBY8C3/HOE2ZA==", |
2515 | "dev": true, | 2514 | "dev": true, |
2516 | "requires": { | 2515 | "requires": { |
2517 | "cheerio": "1.0.0-rc.2", | 2516 | "cheerio": "1.0.0-rc.2", |
@@ -2561,10 +2560,11 @@ | |||
2561 | "integrity": "sha512-perEnXQdQOJMTDFNv+UF3h1Y0z4iSiaN9jIlb0OqIYgosPCZGYh/MCUlkFtV2668PL69lRDO32hmvL2yiidUYg==" | 2560 | "integrity": "sha512-perEnXQdQOJMTDFNv+UF3h1Y0z4iSiaN9jIlb0OqIYgosPCZGYh/MCUlkFtV2668PL69lRDO32hmvL2yiidUYg==" |
2562 | }, | 2561 | }, |
2563 | "vscode-languageclient": { | 2562 | "vscode-languageclient": { |
2564 | "version": "4.4.2", | 2563 | "version": "5.1.1", |
2565 | "resolved": "https://registry.npmjs.org/vscode-languageclient/-/vscode-languageclient-4.4.2.tgz", | 2564 | "resolved": "https://registry.npmjs.org/vscode-languageclient/-/vscode-languageclient-5.1.1.tgz", |
2566 | "integrity": "sha512-9TUzsg1UM6n1UEyPlWbDf7tK1wJAK7UGFRmGDN8sz4KmbbDiVRh6YicaB/5oRSVTpuV47PdJpYlOl3SJ0RiK1Q==", | 2565 | "integrity": "sha512-jMxshi+BPRQFNG8GB00dJv7ldqMda0be26laYYll/udtJuHbog6RqK10GSxHWDN0PgY0b0m5fePyTk3bq8a0TA==", |
2567 | "requires": { | 2566 | "requires": { |
2567 | "semver": "5.5.1", | ||
2568 | "vscode-languageserver-protocol": "3.13.0" | 2568 | "vscode-languageserver-protocol": "3.13.0" |
2569 | } | 2569 | } |
2570 | }, | 2570 | }, |
diff --git a/editors/code/package.json b/editors/code/package.json index eeb6dd816..ea84a1ccb 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -28,7 +28,7 @@ | |||
28 | "singleQuote": true | 28 | "singleQuote": true |
29 | }, | 29 | }, |
30 | "dependencies": { | 30 | "dependencies": { |
31 | "vscode-languageclient": "^4.4.0" | 31 | "vscode-languageclient": "^5.1.1" |
32 | }, | 32 | }, |
33 | "devDependencies": { | 33 | "devDependencies": { |
34 | "@types/mocha": "^2.2.42", | 34 | "@types/mocha": "^2.2.42", |
@@ -37,7 +37,7 @@ | |||
37 | "tslint": "^5.11.0", | 37 | "tslint": "^5.11.0", |
38 | "tslint-config-prettier": "^1.15.0", | 38 | "tslint-config-prettier": "^1.15.0", |
39 | "typescript": "^2.6.1", | 39 | "typescript": "^2.6.1", |
40 | "vsce": "^1.51.1", | 40 | "vsce": "^1.52.0", |
41 | "vscode": "^1.1.21" | 41 | "vscode": "^1.1.21" |
42 | }, | 42 | }, |
43 | "activationEvents": [ | 43 | "activationEvents": [ |