A browser based code editor
Find a file
Taymon A. Beal a87d0cce83 Add asserts, bigint, and unknown to TypeScript keywords
Also, while I'm in here, consolidate typeKeywords into keywords in order to make it easier to keep this in sync with TypeScript going forward. I'm assuming that typeKeywords is not part of Monaco's public API that third-party integrations are supposed to depend on; if it is, then I can undo this.

Fixes: microsoft/monaco-editor#1978
2020-05-23 14:55:25 -04:00
.vscode Replace mocha with tape (for security issue) 2020-03-16 16:38:43 +01:00
scripts Use glob for bundling 2019-12-18 11:18:31 +01:00
src Add asserts, bigint, and unknown to TypeScript keywords 2020-05-23 14:55:25 -04:00
test Replace mocha with tape (for security issue) 2020-03-16 16:38:43 +01:00
.editorconfig Use .editorConfig from Microsoft/vscode 2018-06-09 02:46:31 -07:00
.gitignore [clojure] Add IntelliJ IDEA project directory/file to .gitignore. 2018-09-11 11:37:56 -07:00
.npmignore Replace mocha with tape (for security issue) 2020-03-16 16:38:43 +01:00
azure-pipelines.yml Set up CI with Azure Pipelines 2019-05-09 15:31:45 +02:00
LICENSE.md Initial release 2016-06-09 19:01:53 +02:00
package-lock.json Replace mocha with tape (for security issue) 2020-03-16 16:38:43 +01:00
package.json Replace mocha with tape (for security issue) 2020-03-16 16:38:43 +01:00
README.md There is no need to list all the languages in the README 2019-12-18 11:20:12 +01:00
ThirdPartyNotices.txt Initial release 2016-06-09 19:01:53 +02:00

Monaco Languages Build Status

Colorization and configuration supports for multiple languages for the Monaco Editor:

monaco-languages

Issues

Please file issues concerning monaco-languages in the monaco-editor-repository.

Installing

This npm module is bundled and distributed in the monaco-editor npm module.

Dev: cheat sheet

  • initial setup with npm install .
  • compile with npm run watch
  • test with npm run test
  • bundle with npm run prepublishOnly

Dev: Adding a new language

  • create $/src/myLang/myLang.contribution.ts
  • create $/src/myLang/myLang.ts
  • create $/src/myLang/myLang.test.ts
  • edit $/src/monaco.contribution.ts and register your new language
  import './myLang/myLang.contribution';

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

License

MIT