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
Alex Dima ebdc056429
Merge remote-tracking branch 'origin/main' into 4_3_dev
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) 4 years ago
scripts Adds a regex fix for the perf_hooks import in TS 4.1 4 years ago
src Merge remote-tracking branch 'origin/main' into 4_3_dev 4 years ago
test `var` -> `let` 4 years ago
.gitignore Use the global `monaco` only in the AMD case (see microsoft/monaco-editor#1974) 4 years ago
.npmignore improve `.npmignore` 4 years ago
.prettierignore Use the global `monaco` only in the AMD case (see microsoft/monaco-editor#1974) 4 years ago
.prettierrc Increase `printWidth` 4 years ago
LICENSE.md Run prettier 4 years ago
README.md Run prettier 4 years ago
SECURITY.md Add SECURITY.md 4 years ago
ThirdPartyNotices.txt Refactor project shape 7 years ago
monaco.d.ts Add `DiagnosticsOptions.onlyVisible` to limit computing diagnostics to only the visible text models 4 years ago
package-lock.json 4.4.0 4 years ago
package.json 4.4.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