Skip to content

Commit

Permalink
update demo.gif to show off all features. Prepare changelog and packa…
Browse files Browse the repository at this point in the history
…ge.json for release
  • Loading branch information
peetzweg committed Sep 1, 2022
1 parent e4f5141 commit 353ab59
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## [0.5.1] - 2022-09-01

### Changed

+ Not showing symbol in hover message anymore. The implementation caused flickering when trying to reach for a blockscanner link with the mouse.

### Fixed

+ showing token symbol were not shown anymore at the end of the current line,

+ Code actions to convert selected address were only shown every other time.

## [0.5.0] - 2022-08-28

### Added
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,10 @@
+ highlights ethereum style addresses
+ tells you if address checksum is correct
+ directly links to blockchain explorer

![demo](https://raw.githubusercontent.com/peetzweg/vscode-crypto-address-lens/main/demo.gif)

+ shows contracts "symbol()" inline if available

![demo_lookup](https://raw.githubusercontent.com/peetzweg/vscode-crypto-address-lens/main/demo-lookup.gif)

+ offers code actions (`'CMD'` + `'.'`) to fix checksum of address or convert it to lowercase

![demo_codeactions](https://raw.githubusercontent.com/peetzweg/vscode-crypto-address-lens/main/demo-codeactions.gif)
![demo](https://raw.githubusercontent.com/peetzweg/vscode-crypto-address-lens/main/demo.gif)

## Configuration

Expand Down
Binary file removed demo-codeactions.gif
Binary file not shown.
Binary file removed demo-lookup.gif
Binary file not shown.
Binary file modified demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "crypto-address-lens",
"displayName": "Crypto Address Lens",
"description": "VSCode extension to inspect and validate crypto address inside the source code.",
"version": "0.5.0",
"version": "0.5.1",
"license": "Apache-2.0",
"badges": [
{
Expand Down
3 changes: 0 additions & 3 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ export function activate(context: ExtensionContext) {
return;
}
const range = new Range(selection.start, selection.end);
const hoverMessage = new MarkdownString();
hoverMessage.appendText(symbol as string);

// Dispose old decoration again, because maybe a new one was added in the meantime.
if (detailsDecoration) {
Expand All @@ -133,7 +131,6 @@ export function activate(context: ExtensionContext) {
event.textEditor.setDecorations(detailsDecoration, [
{
range,
hoverMessage,
},
]);
});
Expand Down

0 comments on commit 353ab59

Please sign in to comment.