A wrapper around the hint/show-hint.js addon.

Typedefs

HintApplier(CodeMirror editor, HintResult hint, Position from, Position to) → dynamic

HintRenderer(Element element, HintResult hint) → dynamic

HintsHelper(CodeMirror editor, [HintsOptions options]) HintResults

HintsHelperAsync(CodeMirror editor, [HintsOptions options]) → Future<HintResults>

Classes

HintResult

HintResults

Hints

To use codemirror hints (aka code completion), register either a synchronous or aynchronous hints helper for a given mode (see Hints.registerHintsHelper and Hints.registerHintsHelperAsync). The second helper type returns a Future with the completion results.

HintsOptions

The plugin understands the following options (the options object will also be passed along to the hinting function, which may understand additional options).