benschwarz/sublime-bower — pull request #16 by jaredwy (2013-04-04 10:19:37+00:00)
Title: First pass at the completion for bower packages

So

this sort of works.
Not very user friendly.

To make it work you have to goto

Sublime text 2 menu -> settings default (user does not seem to work)

find the line that reads

"auto_complete_triggers": [ {"selector": "text.html", "characters": "<"} ],

Edit it to read

"auto_complete_triggers": [ {"selector": "text.html", "characters": "<`"} ],

now in any html file you should be able to type ` and get al ist of installed packages. I have only tested it with a local components folder as i am lazy and working in sublimes un documented apis drove me insane.

Known limitations -
Will only work if you have a project open with 1 folders - it currently reads the top folder by default, need to figure out how to make this smarter

It does nothing when it can not find a directory or a folder or something.

No idea if it works with an rc file (i assume it will)

It currently leaves around a ` after the insertion, dove into sublimes documentation again for this, but came up empty handed will keep looking.

Obviously the ` and editing a default settings file is less than idea, need to figure out how to add our own completion handler.