editor.on('change', function(cm,changeObj) { //回车时text为, 空格时为空格 , 退格时为空,此三种情况不提示 if(changeObj.text == ',' || changeObj.text == ' ' || changeObj.text == ''){ return; } editor.showHint(my.hintOptions); });
中文时,输入 `中文`. 会提示, 注意两边添加撇号
websql管理工具:http://www.treesoft.cn/dms.html