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

[Feature Request] The monaco editor gets the configuration of the registration language #4433

Open
2 tasks done
laterdayi opened this issue Mar 19, 2024 · 0 comments
Open
2 tasks done
Labels
feature-request Request for new features or functionality

Comments

@laterdayi
Copy link

Context

  • This issue is not a bug report. (please use a different template for reporting a bug)
  • This issue is not a duplicate of an existing issue. (please use the search to find existing issues)

Description

The monaco editor gets the configuration of the registration language

const config = await await monaco.languages
        .getLanguages()
        .filter(item => item.id === 'cpp')[0]
        .loader()

That's all I can get at the moment

I want to keep the original cpp configuration and add some keywords and configurations to the cpp language

Monaco Editor Playground Link

Monaco Editor Playground Code

The monaco editor gets the configuration of the registration language
@laterdayi laterdayi added the feature-request Request for new features or functionality label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

1 participant