Skip to content

Commit

Permalink
Bug 1878644 - [devtools] Add feature pref for new codemirror implemen…
Browse files Browse the repository at this point in the history
…tation r=devtools-reviewers,nchevobbe

Differential Revision: https://phabricator.services.mozilla.com/D200671
  • Loading branch information
bomsy committed Feb 9, 2024
1 parent f231ce5 commit 7b87092
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devtools/client/debugger/src/utils/prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ if (isNode()) {
pref("devtools.debugger.features.log-points", true);
pref("devtools.debugger.features.inline-preview", true);
pref("devtools.debugger.features.javascript-tracing", false);
pref("devtools.debugger.features.codemirror-next", false);
pref("devtools.editor.tabsize", 2);
pref("devtools.editor.expandtab", false);
pref("devtools.editor.autoclosebrackets", false);
Expand Down Expand Up @@ -141,6 +142,7 @@ export const features = new PrefsHelper("devtools.debugger.features", {
inlinePreview: ["Bool", "inline-preview"],
windowlessServiceWorkers: ["Bool", "windowless-service-workers"],
javascriptTracing: ["Bool", "javascript-tracing"],
codemirrorNext: ["Bool", "codemirror-next"],
});

// Import the asyncStore already spawned by the TargetMixin class
Expand Down
1 change: 1 addition & 0 deletions devtools/client/preferences/debugger.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ pref("devtools.debugger.features.map-expression-bindings", true);
pref("devtools.debugger.features.log-points", true);
pref("devtools.debugger.features.inline-preview", true);
pref("devtools.debugger.features.javascript-tracing", false);
pref("devtools.debugger.features.codemirror-next", false);

0 comments on commit 7b87092

Please sign in to comment.