Commit graph

356 commits

Author SHA1 Message Date
Alex Dima
5577502c1c
Do not load lib.d.ts files on the UI thread 2020-08-28 10:12:54 +02:00
Alex Dima
1272e92acd
Do not ship mixed line endings for .d.ts files 2020-08-28 10:03:13 +02:00
Alex Dima
ea9ddb0a8c
Adopt LibFiles in ReferenceAdapter 2020-08-28 10:00:16 +02:00
Alex Dima
6a18fe6517
Introduce LibFiles and adopt in DefinitionAdapter 2020-08-28 09:58:22 +02:00
Alex Dima
a7f23c2eba
Simplify import typescript script 2020-08-28 09:17:17 +02:00
Alex Dima
151b807fee
run import, minor edits 2020-08-28 09:07:27 +02:00
Orta
471de29a20 Settle on customTSWorkerFactory 2020-08-21 10:33:52 -04:00
Orta
c402ee962f Tidy up 2020-08-21 08:22:27 -04:00
Orta
3e1a236812 Make a useful sample 2020-08-21 08:04:24 -04:00
Orta
26d78129fa Add support for creating a custom webworker subclass 2020-08-21 07:43:59 -04:00
Alexandru Dima
94d92a7181
Merge pull request #62 from microsoft/fix_empty_error 2020-08-07 22:33:11 +02:00
Alexandru Dima
dca2041f54
Merge pull request #60 from microsoft/allow_additional_req
Adds support for error messages to include a reference to require
2020-08-07 22:31:20 +02:00
Orta
fede24ed75 Add all lib dts files 2020-08-06 13:42:03 -04:00
Orta
7b2cebe6a7 Merge branch 'master' of https://github.com/microsoft/monaco-typescript into let_ts_resolve_libs 2020-08-06 12:47:37 -04:00
Orta Therox
2d5021b402
Merge pull request #63 from microsoft/show_compiler_opts
Adds compiler options to the test page
2020-08-06 12:46:45 -04:00
Orta
a213b303a6 Create monaco lib models on demand 2020-07-15 18:43:32 -04:00
Orta
577f254aac NOOP 2020-07-15 18:15:10 -04:00
Orta
ca76528ce1 Revert the lib files coming through as monaco models 2020-07-15 18:13:49 -04:00
Orta Therox
0dbccdea3d
Update src/workerManager.ts
Co-authored-by: Wesley Wigham <wewigham@microsoft.com>
2020-07-09 07:28:29 -04:00
Orta
86f6d762df Use JavaScript for the language to get syntax highlighting, but not tooling 2020-07-08 15:26:18 -04:00
Orta
7a46ec2649 Adds monaco models for the lib d.ts files
Co-authored-by: Wesley Wigham <wwigham@gmail.com>
2020-07-08 15:14:38 -04:00
Orta Therox
1d6f5a0e24 Let TypeScript resolve deps in lib files + allow external tools to extend the lib support 2020-06-26 09:32:08 -04:00
Orta Therox
b717cfe2f1 Adds compiler options to the test page 2020-06-26 06:56:14 -04:00
Orta Therox
3237250330 Fix a crash in getValidSourceFile when the text content is empty 2020-06-18 09:21:07 -04:00
Orta Therox
bb69053ca5 Adds support for error messages to include a reference to require 2020-06-12 13:34:21 -04:00
Alex Dima
778ace10c0
Strip sourceMappingURL directives 2020-04-25 14:19:49 +02:00
Alexandru Dima
61a0941817
Merge pull request #57 from orta/bundle_libs
Ensure that the default es2015 libraries include dom, webworker, and scripthost
2020-03-02 17:48:25 +01:00
Alex Dima
35454d834d
Add a note to all generated files 2020-03-02 17:46:10 +01:00
Orta Therox
e0992c9470 Update the lib generator instead of editing the libn file directly 2020-03-01 12:39:42 -05:00
Orta Therox
05f3891fd1 Bump the TypeScript version, and fix the changes to the monaco API 2020-02-29 18:17:05 -05:00
Orta Therox
4fefe8993f Ensure that the default es2015 libraries include dom, webworker, and scripthost 2020-02-28 10:42:01 -05:00
Alexandru Dima
6d49c51b83
Merge pull request #56 from orta/allow_access_to_dts
Allow access to read files which workers host, notably the default dts
2020-02-17 16:57:11 +01:00
Alex Dima
aee134f9c1
Add API to .d.ts 2020-02-17 16:56:39 +01:00
Alexandru Dima
d7dfa0431f
Merge pull request #55 from orta/es2015
Bump default dts to 2015
2020-02-17 16:52:46 +01:00
Orta Therox
a5b927fca1 Allow access to read files which workers host, notably the default dts 2020-02-15 13:50:30 -05:00
Orta Therox
950c06f26e Bump default dts to 2015 2020-02-13 21:47:01 -05:00
Alex Dima
887411e17c
Adopt editor breaking changes around WorkspaceTextEdits 2020-02-10 23:34:53 +01:00
Alex Dima
dd8427dac0
3.7.0 2020-02-10 23:25:25 +01:00
Alex Dima
a9bc75441d
update deps & TS version 2020-02-10 23:25:04 +01:00
Alexandru Dima
e623bb9f76
Add types for TypeScriptWorker and missing LanguageServiceDefault… (#54)
Add types for TypeScriptWorker and missing LanguageServiceDefaults methods
2020-01-23 10:00:37 +01:00
Alex Dima
b8b1a20578
Remove .d.ts generation also from esm variant 2020-01-23 09:59:03 +01:00
Alex Dima
3b7054deed
Ensure types stay in sync (check that the API is implemented) 2020-01-23 09:58:36 +01:00
Alex Dima
6a5f2c1d98
Remove synchronous methods that cannot be proxied 2020-01-23 09:48:38 +01:00
Elizabeth Craig
0d4ee9bd62 No generated declaration files 2020-01-22 15:28:24 -08:00
Elizabeth Craig
1ff72394c1 Only include a few interfaces 2020-01-22 02:13:42 -08:00
Elizabeth Craig
3f8210652c Add types for TypeScriptWorker and some missing methods from LanguageServiceDefaults 2020-01-22 00:46:17 -08:00
Alexandru Dima
0c05f6af28
Removes trailing comma in the tsconfig (#53)
Removes trailing comma in the tsconfig
2019-12-21 15:10:12 +01:00
Orta
f9b88b3fb8
Update tsconfig.json 2019-12-21 08:06:11 +00:00
Alex Dima
b7f134d98b
3.6.1 2019-12-20 21:04:04 +01:00
Alex Dima
11abbeebb2
Avoid huge .d.ts files 2019-12-20 21:03:59 +01:00