antfu / vscode-iconify

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

Position icon after text #59

Closed robertmoura closed 9 months ago

robertmoura commented 9 months ago

Description

With the iconify.inplace option set to false the icon shows up before the code like this:

Screenshot 2023-10-26 at 3 36 13 pm

To get this to work with custom icons without a prefix I've hacked a few settings together but I'd like the icon to be placed after the code instead of before. In this example it would reduce the layout shifting and keep all the props aligned.

Such a great plugin by the way! Doing awesome work at a ridiculous pace 😊

Suggested solution

Add a setting to position the icon before or after the matching text.

Validations