diff --git a/CHANGELOG.md b/CHANGELOG.md index cb99419..76969e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 66af8a7..e6905e7 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/demo-codeactions.gif b/demo-codeactions.gif deleted file mode 100644 index 241d6ce..0000000 Binary files a/demo-codeactions.gif and /dev/null differ diff --git a/demo-lookup.gif b/demo-lookup.gif deleted file mode 100644 index af3cb65..0000000 Binary files a/demo-lookup.gif and /dev/null differ diff --git a/demo.gif b/demo.gif index 9b71df0..47bc75b 100644 Binary files a/demo.gif and b/demo.gif differ diff --git a/package.json b/package.json index 3abb8db..a6b1c77 100644 --- a/package.json +++ b/package.json @@ -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": [ { diff --git a/src/extension.ts b/src/extension.ts index 8dc603f..020b3fa 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -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) { @@ -133,7 +131,6 @@ export function activate(context: ExtensionContext) { event.textEditor.setDecorations(detailsDecoration, [ { range, - hoverMessage, }, ]); });