mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Update README.md
This commit is contained in:
parent
52e39d313e
commit
3b003d8637
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ This npm module is bundled and distributed in the [monaco-editor](https://www.np
|
||||||
|
|
||||||
* create `$/src/myLang.ts`
|
* create `$/src/myLang.ts`
|
||||||
* create `$/test/myLang.test.ts`
|
* create `$/test/myLang.test.ts`
|
||||||
* update tsconfig.json with `$> node_modules/.bin/tscg .`
|
* update `tsconfig.json` with `$> node_modules/.bin/tscg .` or manually add the new `.ts` files to `tsconfig.json`
|
||||||
* restart compilation with `$> npm run watch`
|
* restart compilation with `$> npm run watch`
|
||||||
* edit `$/src/monaco.contribution.ts` and register your new language:
|
* edit `$/src/monaco.contribution.ts` and register your new language:
|
||||||
```js
|
```js
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue