A browser based code editor
Find a file
Michael Bolin 99f2e84186 Update Python grammar to include keywords introduced in Python 3
This supports https://github.com/microsoft/monaco-editor/issues/1762.

Note the new Python 3 keywords are:

* `async`
* `await`
* `nonlocal`

I also reorganized the list a bit because it seems like it contains
a mixture of keywords and builtins (and `self`, which is neither...),
so it is helpful to be specific to illustrate how to properly maintain
the list.
2020-04-21 14:29:09 -07: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 Update Python grammar to include keywords introduced in Python 3 2020-04-21 14:29:09 -07: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