Last 12 weeks · 0 commits
5 of 6 standards met
Describe the bug Just like this Reproduction / System Info Used Package Manager pnpm Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [x] 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!)
Describe the bug I'm importing icons from HugeIcons set however, the extension doesn't show any preview ts import IconPersonAccounts from '~icons/fluent/person-accounts-24-regular'; import IconAnalytic from '~icons/hugeicons/analytics-up'; import IconBriefcaseDollar from '~icons/hugeicons/briefcase-dollar'; import IconBuilding from '~icons/hugeicons/building-05'; import IconDashboardSquare from '~icons/hugeicons/dashboard-square-03'; import IconMailAtSign from '~icons/hugeicons/mail-at-sign-01'; import IconReportsSolid from '~icons/iconoir/reports-solid'; import IconWrenchClockOutline from '~icons/mdi/wrench-clock-outline'; Shell System: OS: Windows 11 10.0.22000 CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz Memory: 4.95 GB / 23.89 GB Binaries: Node: 20.12.2 - C:\Program Files\nodejs\node.EXE npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD pnpm: 9.0.6 - ~\AppData\Local\pnpm\pnpm.EXE Browsers: Edge: Spartan (44.22000.120.0), Chromium (122.0.2365.66) Internet Explorer: 11.0.22000.120 Name: Iconify IntelliSense Id: antfu.iconify Description: Intelligent Iconify previewing and searching for VS Code Version: 0.8.1 Publisher: Anthony Fu VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=antfu.iconify "unplugin-icons": "0.19.0", ``` Used Package Manager pnpm Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] 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!)
Clear and concise description of the problem presetIcons({ / 图标整体缩放比例 / scale: 1.2, / 未找到图标时给出警告(开发期很有用) / warn: true, collections: { /** 本地 svg 图标集合 👉 使用前缀:i-local-xxx / svgs: FileSystemIconLoader('./src/assets/svgs'), }, }), Suggested solution Want local icons to provide hints like Iconify. Alternative _No response_ Additional context _No response_ Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
AI-Generated Unit Tests This PR adds AI-generated unit tests to improve coverage and ensure key functionality is tested. Test coverage summary Test files and commits How to run tests is included as a dev dependency. ### Run tests directly ### Optional: add npm scripts You can add convenient scripts to : ### Usage examples Run tests once: Run tests in watch mode during development: Run tests with coverage summary: This contribution was created with assistance from ToTheos (https://totheos.com) to support test generation, code refactoring, and pull request preparation for an open-source codebases. The tool was used to automate routine software development tasks.
closes #104 closes #79 Implements the ability to fetch custom icon collections specified via HTTP/HTTPS URLs in the setting. Key changes: Modified in to differentiate between local file paths and remote URLs. Introduced a new utility in using to retrieve and parse JSON from URLs. Integrated this utility into to load collections from remote sources. Local file paths continue to be handled by and watched by . Remote URLs are fetched on configuration load/change. I'm awaiting your feedback on further testing. Description Linked Issues Additional context Testing with this html: !image Also fixed the debug command: see https://github.com/antfu/starter-vscode/pull/16
Repository: antfu/vscode-iconify. Description: 🙂 Iconify IntelliSense for VS Code Stars: 574, Forks: 46. Primary language: TypeScript. Languages: TypeScript (97.7%), HTML (2%), JavaScript (0.4%). License: MIT. Homepage: https://marketplace.visualstudio.com/items?itemName=antfu.iconify Topics: iconify, iconsets, vscode, vscode-extension. Latest release: v1.0.0 (8mo ago). Open PRs: 2, open issues: 17. Last activity: 8mo ago. Community health: 85%. Top contributors: antfu, aki77, Legend-Master, eggx8, RebeccaStevens, jinghaihan, Sight-wcg, 9romise, tjx666, chenli1989 and others.