antfu / vscode-iconify

🙂 Iconify IntelliSense for VS Code
https://marketplace.visualstudio.com/items?itemName=antfu.iconify
MIT License
481 stars 37 forks source link

support config the exclude files patterns to disable preview #87

Open tjx666 opened 1 month ago

tjx666 commented 1 month ago

Clear and concise description of the problem

I generate the icon types in icons.d.ts which include many icons about 3500 icons.

When I open the file, vscode crash and no respond.

image

Suggested solution

support config files to disable preview.

{
    "iconify.preview.exclude": ["**/typings/icon.d.ts"]
}

Alternative

No response

Additional context

No response

Validations

antfu commented 1 month ago

Sure, pr welcome!

tjx666 commented 3 weeks ago

@antfu pr ready, take a look please.