microsoft / microsoft/monaco-editor
[Feature Request] The monaco editor gets the configuration of the registration language
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 46.8k
- Forks
- 4.1k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 1
Description
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
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
The issue only points to monaco.languages.getLanguages() and the loader for the cpp language; it names no source file, test, or playground code. Start by tracing that API and the registered-language configuration path, then determine the supported extension point. Done means preserving the original C++ configuration while allowing additional keywords and configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100