adobe/brackets — pull request #2279 by RaymondLim (2012-12-04 06:30:28+00:00)
Title: registerHintProvider api change in Code Hint Manager

Implement registerHintProvider api with extra parameters suggested by Glenn. This change also makes the problematic shouldShowHintsOnKey api no longer needed. It also resolves the conflicts between two or more providers by allowing each provider to register its specificity.

The new api has three extra parameters -- modes for an array of supported modes, triggerKeys for an array of keys to auto trigger code hints and a number to set the priority of the provider when there are more than one provider to show code hints.