Skip to content

Icon previews in hovers are broken for icons that start with numbers #3843

@Rishaba-Jain

Description

@Rishaba-Jain

Describe the bug
I was working with icons and found that:

  1. Few icons are not previewed while hovering but are previewed near line numbers (checked the location where the icons are stored and it seems that there might be a mismatch in the mapping of names - screenshots attached)
  2. Few icons are not previewed while hovering nor near the line numbers (checked the location where the icons are stored and it seems that the icons are not there)

To Reproduce
Steps to reproduce the behavior:

  1. Please try to preview the icons in VSCode

Expected behavior
The icons must be previewed while hovering, near the line numbers.

Screenshots
Screenshot (1)
Screenshot (2)
Screenshot (3)
Screenshot (4)
Screenshot (5)
Screenshot (6)

Versions (please complete the following information):

  • VS Code Insiders version:
    Version: 1.65.0-insider (user setup)
    Commit: 3112460dc48ce7e557ea9feeaae04b912164b48b
    Date: 2022-02-24T05:15:20.989Z
    Electron: 16.0.9
    Chromium: 96.0.4664.174
    Node.js: 16.9.1
    V8: 9.6.180.23-electron.0
    OS: Windows_NT x64 10.0.19042
  • Dart extension version:
    Dart v3.35.20220222 Pre-Release
  • Flutter extension version:
    Flutter v3.35.20220201 Pre-Release
  • Dart/Flutter SDK version:
C:\Users\NEW>flutter --version
Flutter 2.10.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 097d3313d8 (6 days ago) • 2022-02-18 19:33:08 -0600
Engine • revision a83ed0e5e3
Tools • Dart 2.16.1 • DevTools 2.9.2

C:\Users\NEW>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.10.2, on Microsoft Windows [Version 10.0.19042.1526], locale en-IN)
[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
   X Visual Studio not installed; this is necessary for Windows development.
     Download at https://visualstudio.microsoft.com/downloads/.
     Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2020.3)
[√] Connected device (3 available)
[√] HTTP Host Availability

! Doctor found issues in 1 category.

C:\Users\NEW>dart --version
Dart SDK version: 2.16.1 (stable) (Tue Feb 8 12:02:33 2022 +0100) on "windows_x64"

I am happy to contribute.

Please let me know if any further information is required.

Thanks for this wonderful plugin !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresin flutterRelates to running Flutter appsis bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions