Skip to content

Commit c287a8c

Browse files
authored
Disable matchBrackets in monaco (#36089)
This one may be a bit opinionated but I prefer my editors to be clean of distractions and these bracket highlights look too much like a cursor on quick glance imho. Before: <img width="345" height="67" alt="Screenshot 2025-12-04 at 20 26 14" src="https://github.com/user-attachments/assets/10b2ea19-4468-401b-9425-1caa1b64afe4" /> After: <img width="319" height="69" alt="Screenshot 2025-12-04 at 20 26 25" src="https://github.com/user-attachments/assets/edbd3291-965d-421f-85cf-8d927b2a323a" />
1 parent ca8c4eb commit c287a8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/js/features/codeeditor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ const baseOptions: MonacoOpts = {
4141
wrappingIndent: 'none',
4242
wordWrapBreakAfterCharacters: '',
4343
wordWrapBreakBeforeCharacters: '',
44+
matchBrackets: 'never',
4445
};
4546

4647
function getEditorconfig(input: HTMLInputElement): EditorConfig | null {

0 commit comments

Comments
 (0)