idleberg / sublime-icon-fonts

Completions for popular icon fonts such as Font Awesome, Glyphicons and many more!
MIT License
73 stars 11 forks source link

would you can the glyphicon icon's prefix #4

Closed ilovezy closed 9 years ago

ilovezy commented 9 years ago

I use bootstrap, maybe change the glyphicon to gly or something shotter please, this prefix is too long

idleberg commented 9 years ago

You don't have to type the full prefix. If you prefer gly, you can use that. Chances are that in many cases g will be enough. Give it a try, glyph-check, g-check and gchk all complete to glyphicon glyphicon-check.

If your trouble is that Sublime Text doesn't display the completion preview while typing a command, you will have to add the text.html scope to your auto_complete_selector setting!

ilovezy commented 9 years ago

yean,that finished, just last one problem like bootstrap3-snippet I need to tap < first to trigger the icon , it lead to this, there is one more < before qq 20150803143810

I set this to fix bootstrap3-snippet problem qq 20150803143907

can I fix this problem by doing like this, how to set?

idleberg commented 9 years ago

You're not supposed to press < before using the completion. Standard HTML-completions and Bootstrap 3 snippets follow that behaviour as well.

I'm not familiar with the auto_complete_triggers setting, I'm using the following myself:

"auto_complete_selector": "source, meta.tag, text"
ilovezy commented 9 years ago

prefect,you setting fixed my final question on sublime, thanks so much