antfu / vscode-iconify

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

Support for delimiters of multiple characters #40

Closed JuanM04 closed 1 year ago

JuanM04 commented 1 year ago

Clear and concise description of the problem

Support for delimiters of multiple characters, like --. This would allow in-place replacement for @iconify/tailwind:

<span class="icon-[carbon--dashboard]"></span>

Suggested solution

I'm not very familiar with VSCode extensions, but maybe this part needs to be refactored.

Alternative

No response

Additional context

No response

Validations

ecstrema commented 1 year ago

That would be great!

Is there any replacement for @iconify/tailwind for now?

jesspinklet commented 1 year ago

I really love this feature as well. I would love to see this sooo much. 😸

jesspinklet commented 1 year ago

image hey @antfu Can we have this feature in upcoming updates? This will be very useful since tailwind and other iconify wrappers uses these types of delimiters

antfu commented 1 year ago

PR Welcome :)

jesspinklet commented 1 year ago

I have made a new pr #50 which should support custom multiple characters and also by default it has more supported presets

antfu commented 1 year ago

fixed in https://github.com/antfu/vscode-iconify/pull/50