mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 08:10:11 +01:00
Move basic languages sources to /src/
This commit is contained in:
parent
d5e3af3744
commit
0f7286cf55
247 changed files with 138 additions and 210 deletions
|
|
@ -11,10 +11,10 @@ This repository contains source code only for Monaco Editor Languages, the core
|
|||
|
||||
## Contributing a new tokenizer / a new language
|
||||
|
||||
- create `$/monaco-languages/src/myLang/myLang.contribution.ts`
|
||||
- create `$/monaco-languages/src/myLang/myLang.ts`
|
||||
- create `$/monaco-languages/src/myLang/myLang.test.ts`
|
||||
- edit `$/monaco-languages/src/monaco.contribution.ts` and register your new language
|
||||
- create `$/src/basic-languages/myLang/myLang.contribution.ts`
|
||||
- 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
|
||||
|
||||
```js
|
||||
import './myLang/myLang.contribution';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue