|
před 8 roky | |
---|---|---|
.vscode | před 8 roky | |
src | před 8 roky | |
test | před 8 roky | |
.gitignore | před 9 roky | |
.npmignore | před 9 roky | |
.travis.yml | před 8 roky | |
LICENSE.md | před 9 roky | |
README.md | před 8 roky | |
ThirdPartyNotices.txt | před 9 roky | |
gulpfile.js | před 8 roky | |
package.json | před 8 roky | |
tsconfig.json | před 8 roky |
Colorization and configuration supports for multiple languages for the Monaco Editor:
Also css
dialects:
Please file issues concering monaco-languages
in the monaco-editor
-repository.
This npm module is bundled and distributed in the monaco-editor npm module.
npm install .
npm run watch
npm run test
npm run prepublish
$/src/myLang.ts
$/test/myLang.test.ts
tsconfig.json
with $> node_modules/.bin/tscg .
or manually add the new .ts
files to tsconfig.json
$> 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'),
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.