Skip to content

Auto-completion for icons with auto-imports #114

@Ericlm

Description

@Ericlm

Describe the bug

When using unplugin-icons with auto-imports, there is no auto-completion when typing an icon name in the template.

Like in the repro, when typing : <i-mdi…, there is no suggestion.

Reproduction

https://github.com/Ericlm/icons-intellisense

System Info

System:
    OS: macOS 15.7
    CPU: (8) arm64 Apple M1
    Memory: 104.75 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.4.1 - /Users/ericlemaitre/.asdf/installs/nodejs/24.4.1/bin/node
    npm: 11.4.2 - /Users/ericlemaitre/.asdf/plugins/nodejs/shims/npm
    pnpm: 10.11.0 - /Users/ericlemaitre/Library/pnpm/pnpm
  Browsers:
    Chrome: 136.0.7103.114
    Firefox: 144.0
    Safari: 26.0.1

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions