Javascript 使用Ace编辑器和JSON编辑器(由Jdorn提供)进行自动完成

Javascript 使用Ace编辑器和JSON编辑器(由Jdorn提供)进行自动完成,javascript,json,editor,ace-editor,Javascript,Json,Editor,Ace Editor,我使用JSONeditor和ace editor插件来显示javaScript可编辑代码框。 我已经为ace编辑器提供了所需的LIB,并提供了以下代码: { "type": "string", "format": "javascript" } JSONEditor.plugins.ace.theme = 'chrome'; 并且我能够得到可编辑的代码框,我想使用Ace编辑器的自动完成功能,有什么建议吗

我使用
JSON
editor和
ace editor
插件来显示javaScript可编辑代码框。 我已经为
ace编辑器
提供了所需的LIB,并提供了以下代码:

{
  "type": "string",
  "format": "javascript"
}

JSONEditor.plugins.ace.theme = 'chrome';
并且我能够得到可编辑的代码框,我想使用Ace编辑器的
自动完成
功能,有什么建议吗