Code
How microsoft/monaco-editor is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Repository root
- Likely public API
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
AIAdd a new language definition
- Define tokenization rules and syntax in the main language file (e.g., python.ts)
- Create register.ts to export language configuration and feature registration
- Add language export to the central contribution loader
- Add corresponding test file for syntax validation
Add a new editor feature
- Implement feature logic and export via register.js
- Create TypeScript declarations in register.d.ts for type safety
- Register feature in main editor or feature contribution system
Set up a language worker for advanced services
- Create worker entry point file in deprecated/language/{lang}/ directory
- Implement language server protocol or custom worker interface
- Register worker in language contribution via register.ts
- Export worker initialization from language definition module
Change the public API
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.
- Files marked “likely” are guessed from their names.
- Some entry points named in the manifest are build output or are missing from the file list, so their source is not shown.