Snippets for icon fonts that have been deprecated from the main Icon Fonts package (see details).
This package is also available for Atom and Visual Studio Code.
- Make sure you already have Package Control installed
- Choose “Install Package” from the Command Palette (Super+Shift+P)
- Select “Icon Fonts (Legacy)” and press Enter
- Change to your Sublime Text
Packages
directory - Clone repository
git clone https://github.com/idleberg/sublime-icon-fonts-legacy "Icon Fonts (Legacy)"
Snippets are limited to the text.html
scope, which might not be activated in your auto_complete_selector
user preferences by default. However, you can still force the completion popup to show by pressing Ctrl+Space.
Typing the class name of an icon will complete to a tag containing the icon's class.
Prefix | Icon Font | Version |
---|---|---|
brandico |
Brandico Font | – |
fi |
Foundation Icons v3 | 3.0 |
filetypes |
Glyphicons Filetypes | 1.9.0 |
fa |
Font Awesome | 4.7.0 |
foundico |
Foundation Icons | 1.0.0 |
geomicon |
Geomicons Open | 2.0.0 |
glyphicons |
Glyphicons Pro | 1.9.0 |
halflings |
Glyphicons Halflings | 1.9.0 |
icofont |
ShapeBootstrap IcoFont | 1.0.0b |
line |
Elegant Theme Line Icons | – |
social |
Glyphicons Social | 1.9.0 |
ratchicon |
Ratchicons | 2.0.2 |
ui |
Semantic UI Icons | 2.0.7 |
Examples:
foundicon-checkmark
+Tab completes to<i class="foundicon-checkmark"></i>
glyphicons-check
+Tab completes to<span class="glyphicons glyphicons-check"></span>
- well, you get the idea
This work is licensed under the The MIT License.