Repository navigation
Icons preview not shown on hover #3641
Copy link
Copy link
Closed
Labels
Description
Describe the bug
Hovering on a icon does not show icon Preview
To Reproduce
Steps to reproduce the behavior:
- Add icon to widget tree in vscode
- Hover mouse cursor on the icon
Expected behavior
Icon preview should be visible
Actual behavior
Icon preview is not shown
Screenshots
Versions (please complete the following information):
- VS code Version: 1.59.1
- Dart extension version: v3.27.2
- Dart/Flutter SDK version: 2.6.0
flutter doctor -v
[✓] Flutter (Channel master, 2.6.0-12.0.pre.478, on macOS 12.0.1 21A559 darwin-arm, locale en-GB)
• Flutter version 2.6.0-12.0.pre.478 at /Users/mahesh/Documents/flutter_master
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision abecef6ed3 (2 days ago), 2021-10-26 20:31:29 -0700
• Engine revision 925bae45ee
• Dart version 2.15.0 (build 2.15.0-250.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/mahesh/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• ANDROID_HOME = /Users/mahesh/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.10.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 60.1.4
• Dart plugin version 212.5080.8
[✓] VS Code (version 1.59.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.27.0
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 12.0.1 21A559 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 95.0.4638.54
• No issues found!
Reactions are currently unavailable


Activity
[-]Icons not shown on hover [/-][+]Icons preview not shown on hover [/+]DanTup commentedon Nov 1, 2021
I don't seem to be able to reproduce this:
The icons are shipped with the extension, so there's no reliance on an internet connection. Could you try:
ls ~/.vscode/extensions/dart-code.dart-code-3.27.2/media/doc-icons/material/[email protected]in a terminal and see whether it reports the file exists or notThanks!
maheshj01 commentedon Nov 1, 2021
@DanTup thanks for taking a look
Here is the requested info
looks like the icons are present.
Let me know if you need any additional info.
Thanks
DanTup commentedon Nov 1, 2021
Ah sorry, I missed your VS Code version. There was a bug in VS Code that was fixed (microsoft/vscode@863eb4d) in VS Code 1.60.0 but you're on 1.59.1. It should start working again once you upgrade :-)
maheshj01 commentedon Nov 2, 2021
Thanks, it's working with the upgrade.
DanTup commentedon Nov 2, 2021
Great! :-)