Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monaco-editor-3626: Ensure brackets are highlighted in languages like 'json' #176084

Merged
merged 2 commits into from Mar 16, 2023

Conversation

jessebluemr
Copy link
Contributor

This PR relates to the Bug monaco-editor 3626 reported to the monaco-editor project.

The fix makes sure that languages like json tokenized in the browser via the TokenizationSupportAdapter in standaloneLanguages.ts will support highlighting matching brackets.

The MetadataConsts.BALANCED_BRACKETS_MASK flag is added to the bitmask of the language metadata, like in monarchLexer.ts.

@jessebluemr
Copy link
Contributor Author

@microsoft-github-policy-service agree

JajarGaming
JajarGaming previously approved these changes Mar 6, 2023
@hediet hediet added this to the March 2023 milestone Mar 16, 2023
@hediet hediet merged commit 704880c into microsoft:main Mar 16, 2023
6 checks passed
@jessebluemr jessebluemr deleted the monaco-editor-issue-3626 branch March 16, 2023 15:13
@github-actions github-actions bot locked and limited conversation to collaborators Apr 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants