microsoft / microsoft/monaco-editor
bracketPairColorization: { enabled: false } does not work
Open
Nobody has claimed this yet.
bug
editor-core
- Dominant language
- JavaScript
- Stars
- 46.8k
- Forks
- 4.1k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 1
Description
bracketPairColorization.enabled does not work:
monaco.editor.create(document.getElementById('container'), {
value: '(((()))){{{{}}}}[[[[]]]]',
language: 'csharp',
bracketPairColorization: {
enabled: false
}
});

However, this works:
monaco.editor.create(document.getElementById('container'), {
value: '(((()))){{{{}}}}[[[[]]]]',
language: 'csharp',
"bracketPairColorization.enabled": false
});
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior in the linked Monaco playground using the shown configuration, then compare the nested bracketPairColorization.enabled option with the dotted option. Trace configuration handling from monaco.editor.create; done means the nested setting behaves like the dotted setting, with a regression check if the repository provides one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100