Merge pull request #3210 from remcohaszing/fix-contributing-instructions

Document samples are needed when adding a language
This commit is contained in:
Johannes Rieken 2022-07-22 11:44:31 +02:00 committed by GitHub
commit 39a8b976ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@ Please understand that we only bundle languages with the monaco editor that have
- create `$/src/basic-languages/{myLang}/{myLang}.ts`
- create `$/src/basic-languages/{myLang}/{myLang}.test.ts`
- edit `$/src/basic-languages/monaco.contribution.ts` and register your new language
- create `$/website/index/samples/sample.{myLang}.txt`
```js
import './{myLang}/{myLang}.contribution';