Alex Dima
c196027bdc
Increase printWidth
2020-09-18 20:07:20 +02:00
Alex Dima
233f97cde9
Adopt async
2020-09-18 20:06:07 +02:00
Orta
70d1cb1704
Allows setting lib with shortnames
2020-09-08 11:37:19 -04:00
Alex Dima
ee95401a40
Use the global monaco only in the AMD case (see microsoft/monaco-editor#1974 )
2020-09-07 21:52:41 +02:00
Alex Dima
b87c75d7e9
Run prettier
2020-09-07 18:08:18 +02:00
Alex Dima
2edd71ff65
update deps
2020-09-07 17:49:49 +02:00
Orta
5ee395c5ee
Tightens the public API
2020-08-31 13:49:34 -04:00
Orta
166e63b991
Adds a vfs project
2020-08-31 13:09:47 -04:00
Orta
89fdcf5424
Merge branch 'master' of https://github.com/microsoft/monaco-typescript into custom_worker
2020-08-31 10:53:34 -04:00
Alexandru Dima
6d0fbd443f
Merge pull request #64 from microsoft/let_ts_resolve_libs
2020-08-28 10:18:06 +02:00
Alex Dima
6a18fe6517
Introduce LibFiles and adopt in DefinitionAdapter
2020-08-28 09:58:22 +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
26d78129fa
Add support for creating a custom webworker subclass
2020-08-21 07:43:59 -04:00
Orta
ca76528ce1
Revert the lib files coming through as monaco models
2020-07-15 18:13:49 -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
3237250330
Fix a crash in getValidSourceFile when the text content is empty
2020-06-18 09:21:07 -04: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
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
3b7054deed
Ensure types stay in sync (check that the API is implemented)
2020-01-23 09:58:36 +01:00
Alex Dima
e4ab9e4360
Adopt strict checking ( fixes microsoft/monaco-editor#1715 )
2019-12-20 19:47:49 +01:00
Alex Dima
0dd1066fc4
formatting options & source formatting
2019-09-19 09:43:26 +02:00
Alex Dima
559bc5255a
Merge remote-tracking branch 'origin/master' into pr/orta/40
2019-09-19 09:19:03 +02:00
Sebastian Pahnke
ceff666ed1
Add a rename provider
2019-09-19 07:14:19 +02:00
Orta Therox
b8063f957f
Adds a CodeAction provider to support fixits
2019-08-29 13:43:19 -04:00
Alex Dima
6b2271c1c1
Changes for PR #30
2019-03-04 15:09:02 +01:00
placatus
e39fa719bc
Optimize how external libs are handled and allow for custom languages:
...
* Adding/removing extra libs does not trigger a full worker refresh
* Manual control over when the extra libs are sent to the worker
* Adding a new lib with the same name replaces it inplace
Also included, the capability to define custom languages
2019-02-06 00:50:50 +02:00
Alex Dima
505232c7c8
Adopt native promises
2019-01-09 15:51:42 +01:00
Pavel Lang
e493629099
chore: upgrade packages
...
npm i typescript@^3.2.2 monaco-editor-core@^0.15.5
2018-12-08 08:13:20 +01:00
Alex Dima
be47b28d96
Use a more compact format for dts to avoid duplication
2018-08-08 17:34:03 +02:00
Alex Dima
a56039de2d
Remove any cast
2018-08-08 15:46:01 +02:00
Alex Dima
1e6ff8e032
Merge branch 'master' into pr/mattmccutchen/21
2018-08-08 15:43:54 +02:00
Alex Dima
35afe8257c
Update to typescript 3.0.1
2018-08-08 15:32:31 +02:00
Matt McCutchen
2d6f48ee53
Clear the file fields of relatedInformation too.
2018-07-31 14:04:40 -04:00
Alex Dima
50517cad24
Use tsMode and tsWorker for entry point names
2018-03-12 12:59:22 +01:00