A browser based code editor
Find a file
2018-01-20 15:05:00 +03:30
.vscode Format sources 2017-06-08 18:54:55 +02:00
src whitespaces after # are allowed in C++ preprocessor statements 2018-01-20 15:05:00 +03:30
test whitespaces after # are allowed in C++ preprocessor statements 2018-01-20 15:05:00 +03:30
.gitignore Initial release 2016-06-09 19:01:53 +02:00
.npmignore Include src as a part of npm package 2017-05-06 11:09:35 +02:00
.travis.yml Add travis builds 2016-09-16 20:06:04 +02:00
gulpfile.js redis language support added, tests are ok 2017-10-03 12:25:54 +03:00
LICENSE.md Initial release 2016-06-09 19:01:53 +02:00
package.json Minor edits 2017-11-24 11:03:15 +01:00
README.md added class and member detection 2017-07-31 01:00:19 -07:00
ThirdPartyNotices.txt Initial release 2016-06-09 19:01:53 +02:00
tsconfig.json Adopt latest monaco-editor-core, adopt TS 2.0 for compilation 2016-10-06 17:08:59 +02:00

Monaco Languages Build Status

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

monaco-languages

  • bat
  • coffee script
  • cpp
  • csharp
  • fsharp
  • go
  • handlebars
  • html
  • ini
  • lua
  • objective-c
  • postiats
  • php
  • powershell
  • pug
  • python
  • r
  • razor
  • ruby
  • sql
  • swift
  • vb
  • xml
  • small basic

Also css dialects:

  • css
  • less
  • scss

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 prepublish

Dev: Adding a new language

  • create $/src/myLang.ts
  • create $/test/myLang.test.ts
  • restart compilation with $> npm run watch
  • edit $/src/monaco.contribution.ts and register your new language:
  registerLanguage({
  	id: 'sql',
  	extensions: [ '.sql' ],
  	aliases: [ 'SQL' ],
  	module: './sql'
  });
  • edit $/test/all.js and load your new language while testing
  'out/test/sql.test',
  • edit $/gulpfile.js and ship your new language
  bundleOne('src/sql'),

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