Angular directive that adds hint support to a Codemirror instance based on a custom dictionary.
1 person uses it
Author: 206135?v=2 amarnus

Angular Codemirror Dictionary Hint  Build Status

This directive allows you to add hint support for your Codemirror instance based on a custom dictionary.




You can install using bower:

Load the script files into your application. Note that you need to load the CodeMirror hint addon as well.

Add this module as a dependency to your AngularJS app:

Finally, add the directive to your HTML as an attribute.

  • You can bind a scope variable (whose value must be an array) and optionally change it over time.
  • You can bind a static array inline as well.
comments powered by Disqus
This page was last updated over 3 years ago.