A browser based code editor
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Alexandru Dima e8b0174a8e
update CI to also run on push
4 years ago
.github/workflows update CI to also run on push 4 years ago
.vscode Use the global `monaco` only in the AMD case (see microsoft/monaco-editor#1974) 5 years ago
scripts Adds a regex fix for the perf_hooks import in TS 4.1 4 years ago
src Upgrade to typescript 4.1.3 4 years ago
test `var` -> `let` 4 years ago
.gitignore Use the global `monaco` only in the AMD case (see microsoft/monaco-editor#1974) 5 years ago
.npmignore improve `.npmignore` 5 years ago
.prettierignore Use the global `monaco` only in the AMD case (see microsoft/monaco-editor#1974) 5 years ago
.prettierrc Increase `printWidth` 4 years ago
LICENSE.md Run prettier 5 years ago
README.md Run prettier 5 years ago
ThirdPartyNotices.txt Refactor project shape 7 years ago
monaco.d.ts Fixes microsoft/monaco-editor#2162 4 years ago
package-lock.json 4.2.0 4 years ago
package.json 4.2.0 4 years ago

README.md

Monaco TypeScript

Simple TypeScript and JavaScript language support for the Monaco Editor.

typescript

Note that this project focuses on single-file scenarios and that things like project-isolation, cross-file-features like Rename etc. are outside the scope of this project and not supported.

Issues

Please file issues concerning monaco-typescript in the monaco-editor repository.

Installing

This npm module is bundled and distributed in the monaco-editor npm module.

Development

  • git clone https://github.com/Microsoft/monaco-typescript
  • cd monaco-typescript
  • npm install .
  • npm run compile
  • npm run watch
  • open $/monaco-typescript/test/index.html in your favorite browser.

Updating TypeScript

  • change typescript's version in package.json.
  • execute npm install .
  • execute npm run import-typescript
  • adopt new APIs

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