Skip to content

Commit d979300

Browse files
authored
fix: find all references (#125)
* prep v0.1.4 * properly instantiate vscode.location - fixes #119 * prepare v0.1.5
1 parent 673e7bf commit d979300

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

CHANGELOG.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
Note: Don't forget to check out `preferences → Settings → Solidity Visual Developer` to customize features, look and feel.
44

5-
## v0.1.4
5+
6+
## v0.1.5 - 🏂
7+
- fix: find all references not working - #119
8+
9+
## v0.1.4 - 🍁
610
- fix: incompatibility with vscode update v1.72.0 - Extension "[...] has provided an invalid tree item." - #114
711
- new: optionally disable highlighting in the overview ruler - #115
812

@@ -16,7 +20,7 @@ Note: Don't forget to check out `preferences → Settings → Solidity Visual De
1620

1721
- fix: semantic highlighting for supercall and modifier arguments - #112 #117
1822

19-
## v0.1.3
23+
## v0.1.3 - 🧸
2024
- new: customize semantic highlighting mode #105 #108
2125
- `color and symbol` - default (decorate + "arrow")
2226
- `color only` - only decorate identifiers declared in the function argument scope

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"solidity security",
1414
"solidity audit"
1515
],
16-
"version": "0.1.4",
16+
"version": "0.1.5",
1717
"publisher": "tintinweb",
1818
"icon": "images/icon.png",
1919
"engines": {

src/features/references.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function indicesToVscodeRange(uri, indices, data, cb) {
6060
new vscode.Position(lineNumber + 1, i.index - lineIndex),
6161
new vscode.Position(lineNumber + 1, i.index - lineIndex + i.len)
6262
);
63-
cb(vscode.Location(uri, pos));
63+
cb(new vscode.Location(uri, pos));
6464
});
6565
}
6666

src/features/whatsnew/whatsNew.js

+10-6
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ ___
3636
3737
The complete changelog can be found [here](https://github.com/ConsenSys/vscode-solidity-auditor/blob/master/CHANGELOG.md).
3838
39-
## v0.1.4
39+
## v0.1.5 - 🏂
40+
41+
- fix: find all references not working - #119
42+
43+
## v0.1.4 - 🍁
4044
4145
- fix: incompatibility with vscode update v1.72.0 - Extension "[...] has provided an invalid tree item." - #114
4246
- new: optionally disable highlighting in the overview ruler - #115
@@ -46,17 +50,17 @@ The complete changelog can be found [here](https://github.com/ConsenSys/vscode-s
4650
<img width="185" alt="image" src="https://user-images.githubusercontent.com/2865694/194864195-a1449bb3-9c04-43bb-a011-8d2faf8ffb5a.png"> <img width="181" alt="image" src="https://user-images.githubusercontent.com/2865694/194864429-5d8c42d4-e45b-406d-ad66-e207718aced0.png">
4751
4852
- fix: more consistent highlighting when clicking on an item in the cockpit ExternalCalls/PublicStatechanging views - #110
49-
- clicking on a function name highlights the first line of the function instead of the full function block in the editor
50-
- clicking on an external call/modifier highlights the invocation in the editor
53+
- clicking on a function name highlights the first line of the function instead of the full function block in the editor
54+
- clicking on an external call/modifier highlights the invocation in the editor
5155
5256
- fix: semantic highlighting for supercall and modifier arguments - #112 #117
5357
5458
## v0.1.3 - 🧸
5559
5660
- new: customize semantic highlighting mode #105 #108
57-
- \`color and symbol\` - default (decorate + "arrow")
58-
- \`color only\` - only decorate identifiers declared in the function argument scope
59-
- \`symbol only\` - only show an "arrow" next to an identifier declared in the function argument scope
61+
- \`color and symbol\` - default (decorate + "arrow")
62+
- \`color only\` - only decorate identifiers declared in the function argument scope
63+
- \`symbol only\` - only show an "arrow" next to an identifier declared in the function argument scope
6064
6165
<img width="725" alt="image" src="https://user-images.githubusercontent.com/2865694/180291604-f1a3be47-5aaa-41d4-b734-13dfd813d8ff.png">
6266

0 commit comments

Comments
 (0)