Antonio-Maranhao commented on a change in pull request #1331:
URL: https://github.com/apache/couchdb-fauxton/pull/1331#discussion_r787835305



##########
File path: app/addons/components/components/codeeditor.js
##########
@@ -11,13 +11,20 @@
 // the License.
 import React from "react";
 import FauxtonAPI from "../../../core/api";
-import ace from "brace";
-import "brace/ext/searchbox";
+import AceEditor from "react-ace";
+import ace from 'ace-builds';
+import "ace-builds/src-min-noconflict/ext-searchbox";
 import {StringEditModal} from './stringeditmodal';
+import 'ace-builds/css/theme/idle_fingers.css';
+import 'ace-builds/css/ace.css';
+// importing the webpack resolver enables syntax checking

Review comment:
       ```suggestion
   // importing the webpack resolver enables dynamically loading modes, which 
is required for syntax checking
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to