如何使用ui-codemirror显示提示和定义字典?
$scope.cmOption = {
lineWrapping : true,
lineNumbers: true,
textWrapping: true,
indentWithTabs: true,
readOnly: false,
mode: "javascript",
matchBrackets: true,
autoCloseBrackets: true,
gutters: ["CodeMirror-lint-markers"],
lint: true,
showHint: true
};
我尝试使用ng-codemirror-dictionary-hint,但它给了我一个错误
instance.showHint不是函数