[Bug] 0.34: bracketPairColorization does not work
See original GitHub issueReproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Code
monaco.editor.create(document.getElementById('container'), {
value: "function hello() {\n\talert('Hello world!');\n}",
language: 'javascript',
bracketPairColorization: { enabled: true },
['bracketPairColorization.enabled']: true
});
Reproduction Steps
No response
Actual (Problematic) Behavior
The brackets are not colorized.
Expected Behavior
The brackets are colorized.
Additional Context
It used to work in Monaco 0.32.1
It seems like to colorization is added and then immediately afterwards on the next render removed.
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:13 (1 by maintainers)
Top Results From Across the Web
monaco-editor-webpack-plugin | Yarn - Package Manager
Useful for adding content-based hashes so that files can be served with long-lived caching headers. default value: '[name].worker.js' . publicPath ( string )...
Read more >Release notes - Acquia Docs
For a list of known issues you may encounter when using Cloud IDE, see Known issues. ... Change Bracket Pair Colorization is enabled...
Read more >VS Code, Bracket Pair Colorizer does not work. Do I have to ...
Bracket Pair Colorizer is no longer maintained. It's outdated. Instead, you can colorize your brackets by adding this single line to your ...
Read more >Source - GitHub
- Fixes [a problem with missing colors](https://github.com/microsoft/monaco-editor/issues/2822) - Fixes [a problem with scheduling background tokenization]( ...
Read more >vuejs/vetur (Raised $789.00) - Issuehunt
IssueHunt is an issue-based bounty platform for open source projects. Anyone can put a bounty on not only a bug but also on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also matchBrackets doesn’t work
I actually use vscode-textmate in monaco in my project. Do you know how to make the bracket coloring work there?
EDIT:
I made it working by the following call: