A custom ACE editor theme for MongoDB query bars used in Compass. Current stable version is 1.7.0, released sporadically alongside Compass updates. Provides syntax highlighting for MongoDB query syntax within ACE editors, designed to improve readability of queries. Differentiator: purpose-built for MongoDB's query language, used in official MongoDB Compass tools.
npm install mongodb-ace-theme-queryNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Registers the MongoDB query theme with ACE editor (via brace) and applies it to a new editor instance.
Upgrade to version 1.0.0 or later; previously the theme was global.
Install brace: npm install brace
Use the exact string 'ace/theme/mongodb-query'.
Run npm install mongodb-ace-theme-query
Install brace and import it: import * as ace from 'brace'
Ensure import 'mongodb-ace-theme-query' appears before editor.setTheme()